2017-11-06 09:33:53

by Yoshihiro Shimoda

[permalink] [raw]
Subject: RE: [PATCH] phy: rcar-gen3-usb2: select USB_COMMON

Hi Arnd,

> From: Arnd Bergmann, Sent: Thursday, November 2, 2017 8:57 PM
>
> When USB is disabled, we get a link error for this driver
> because of the added OTG support
>
> drivers/phy/renesas/phy-rcar-gen3-usb2.o: In function `rcar_gen3_phy_usb2_probe':
> phy-rcar-gen3-usb2.c:(.text+0x250): undefined reference to `of_usb_get_dr_mode_by_phy'
>
> Other phy drivers select USB_COMMON for this, so let's do the same
> here.
>
> Fixes: 7e0540f41332 ("phy: rcar-gen3-usb2: check dr_mode for otg mode")
> Signed-off-by: Arnd Bergmann <[email protected]>

Thank you for the patch!

Acked-by: Yoshihiro Shimoda <[email protected]>

Best regards,
Yoshihiro Shimoda


From 1582955390796182137@xxx Thu Nov 02 11:58:20 +0000 2017
X-GM-THRID: 1582955390796182137
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread