Re: [PATCH] usb: dwc2: Fix build in periphal-only mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 08, 2021 at 01:00:49PM +0100, Phil Elwell wrote:
> In branches to which [1] has been back-ported, the bus_suspended member
> of struct dwc2_hsotg is only present in builds that support host-mode.
> To avoid having to pull in several more non-Fix commits in order to
> get it to compile, wrap the usage of the member in a macro conditional.
> 
> Fixes: 24d209dba5a3 ("usb: dwc2: Fix hibernation between host and device modes.")
> Signed-off-by: Phil Elwell <phil@xxxxxxxxxxxxxxx>
> [1] 24d209dba5a3 ("usb: dwc2: Fix hibernation between host and device modes.")
> ---
>  drivers/usb/dwc2/core_intr.c | 4 ++++
>  1 file changed, 4 insertions(+)

Now queued up everywhere, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux