On 9/9/2015 3:20 AM, Mian Yousaf Kaukab wrote: > From: Gregory Herrero <gregory.herrero@xxxxxxxxx> > > lx_state must be used to reflect controller power state only and not > bus state. Thus add a flag to track state during bus suspend. > > Signed-off-by: Gregory Herrero <gregory.herrero@xxxxxxxxx> > Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@xxxxxxxxx> > Tested-by: Robert Baldyga <r.baldyga@xxxxxxxxxxx> > --- > drivers/usb/dwc2/core.h | 1 + > drivers/usb/dwc2/hcd.c | 4 +++- > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h > index 9655b1e..b1e3364 100644 > --- a/drivers/usb/dwc2/core.h > +++ b/drivers/usb/dwc2/core.h > @@ -703,6 +703,7 @@ struct dwc2_hsotg { > > unsigned int queuing_high_bandwidth:1; > unsigned int srp_success:1; > + unsigned int bus_suspended:1; Looks like this should go in the host-only guarded section. John -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html