diff mbox

[1/3] usb: host: xhci-plat: add firmware_name for R-Car Gen3

Message ID 1530614818-7634-2-git-send-email-yoshihiro.shimoda.uh@renesas.com (mailing list archive)
State New, archived
Headers show

Commit Message

Yoshihiro Shimoda July 3, 2018, 10:46 a.m. UTC
To clean up the xhci-rcar.c code later, this patch adds firmware_name
"V3" for R-Car Gen3.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
 drivers/usb/host/xhci-plat.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Horman July 13, 2018, 7:24 a.m. UTC | #1
On Tue, Jul 03, 2018 at 07:46:56PM +0900, Yoshihiro Shimoda wrote:
> To clean up the xhci-rcar.c code later, this patch adds firmware_name
> "V3" for R-Car Gen3.

Maybe "to allow for a follow-up to clean up the xhci-rcar.c code, this
patch firmware_name "V3" for R-Car Gen3.

From a backporting point of view I think it would be slightly nicer to
merge this and the following (the follow-up cleanup) patch. But I don't
feel strongly about that.

The above notwithstanding:

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>

> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> ---
>  drivers/usb/host/xhci-plat.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> index c1b22fc..8dc77e3 100644
> --- a/drivers/usb/host/xhci-plat.c
> +++ b/drivers/usb/host/xhci-plat.c
> @@ -105,6 +105,7 @@ static int xhci_plat_start(struct usb_hcd *hcd)
>  };
>  
>  static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen3 = {
> +	.firmware_name = XHCI_RCAR_FIRMWARE_NAME_V3,
>  	.init_quirk = xhci_rcar_init_quirk,
>  	.plat_start = xhci_rcar_start,
>  	.resume_quirk = xhci_rcar_resume_quirk,
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index c1b22fc..8dc77e3 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -105,6 +105,7 @@  static int xhci_plat_start(struct usb_hcd *hcd)
 };
 
 static const struct xhci_plat_priv xhci_plat_renesas_rcar_gen3 = {
+	.firmware_name = XHCI_RCAR_FIRMWARE_NAME_V3,
 	.init_quirk = xhci_rcar_init_quirk,
 	.plat_start = xhci_rcar_start,
 	.resume_quirk = xhci_rcar_resume_quirk,