Files
linux/drivers
Phil Elwell fe4e0bd4c2 usb: dwc2: Fix build in periphal-only mode
In branches to which 24d209dba5 ("usb: dwc2: Fix hibernation between
host and device modes.") 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: 24d209dba5 ("usb: dwc2: Fix hibernation between host and device modes.")
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-10 13:37:11 +02:00
..
2021-05-14 09:44:24 +02:00
2020-09-09 19:12:21 +02:00
2020-12-30 11:51:26 +01:00
2021-04-07 14:47:39 +02:00
2020-02-24 08:36:48 +01:00