Re: [PATCH] usb: dwc2: Implement set_selfpowered()

From: John Keeping
Date: Wed Feb 05 2020 - 11:44:56 EST


On Wed, 05 Feb 2020 18:36:21 +0200
Felipe Balbi <balbi@xxxxxxxxxx> wrote:

> John Keeping <john@xxxxxxxxxxxx> writes:
>
> > dwc2 always reports as self-powered in response to a device status
> > request. Implement the set_selfpowered() operations so that the gadget
> > can report as bus-powered when appropriate.
> >
> > This is modelled on the dwc3 implementation.
> >
> > Signed-off-by: John Keeping <john@xxxxxxxxxxxx>
> > ---
>
> what's the dependency here?

It depends on 6de1e301b9cf ("usb: dwc2: Fix SET/CLEAR_FEATURE and
GET_STATUS flows") in your testing/fixes tree.

Sorry, I should have mentioned that in the original message.


John