Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-04-10 Thread Felipe Balbi
Hi, Philipp Zabel writes: >> Philipp Zabel writes: >> > As of commit bb475230b8e5 ("reset: make optional functions really >> > optional"), the reset framework API calls use NULL pointers to describe >> > optional, non-present reset controls. >> >

Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-04-10 Thread Felipe Balbi
Hi, Philipp Zabel writes: >> Philipp Zabel writes: >> > As of commit bb475230b8e5 ("reset: make optional functions really >> > optional"), the reset framework API calls use NULL pointers to describe >> > optional, non-present reset controls. >> > >> > This allows to return errors from

Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-04-10 Thread Philipp Zabel
Hi Felipe, On Mon, 2017-04-10 at 13:21 +0300, Felipe Balbi wrote: > Hi, > > Philipp Zabel writes: > > As of commit bb475230b8e5 ("reset: make optional functions really > > optional"), the reset framework API calls use NULL pointers to describe > > optional, non-present

Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-04-10 Thread Philipp Zabel
Hi Felipe, On Mon, 2017-04-10 at 13:21 +0300, Felipe Balbi wrote: > Hi, > > Philipp Zabel writes: > > As of commit bb475230b8e5 ("reset: make optional functions really > > optional"), the reset framework API calls use NULL pointers to describe > > optional, non-present reset controls. > > > >

Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-04-10 Thread Felipe Balbi
Hi, Philipp Zabel writes: > As of commit bb475230b8e5 ("reset: make optional functions really > optional"), the reset framework API calls use NULL pointers to describe > optional, non-present reset controls. > > This allows to return errors from

Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-04-10 Thread Felipe Balbi
Hi, Philipp Zabel writes: > As of commit bb475230b8e5 ("reset: make optional functions really > optional"), the reset framework API calls use NULL pointers to describe > optional, non-present reset controls. > > This allows to return errors from devm_reset_control_get_optional and to > call

Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-01-30 Thread John Youn
On 1/30/2017 4:28 PM, John Youn wrote: > Hi Philipp, > > On 1/30/2017 3:42 AM, Philipp Zabel wrote: >> As of commit bb475230b8e5 ("reset: make optional functions really > > Where can I find this? It's not in mainline. > Never mind. I found on arm-soc per your reply elsewhere. Acked-by: John Youn

Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-01-30 Thread John Youn
On 1/30/2017 4:28 PM, John Youn wrote: > Hi Philipp, > > On 1/30/2017 3:42 AM, Philipp Zabel wrote: >> As of commit bb475230b8e5 ("reset: make optional functions really > > Where can I find this? It's not in mainline. > Never mind. I found on arm-soc per your reply elsewhere. Acked-by: John Youn

Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-01-30 Thread John Youn
Hi Philipp, On 1/30/2017 3:42 AM, Philipp Zabel wrote: > As of commit bb475230b8e5 ("reset: make optional functions really Where can I find this? It's not in mainline. John > optional"), the reset framework API calls use NULL pointers to describe > optional, non-present reset controls. > >

Re: [PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-01-30 Thread John Youn
Hi Philipp, On 1/30/2017 3:42 AM, Philipp Zabel wrote: > As of commit bb475230b8e5 ("reset: make optional functions really Where can I find this? It's not in mainline. John > optional"), the reset framework API calls use NULL pointers to describe > optional, non-present reset controls. > >

[PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally.

[PATCH 12/14] usb: dwc2: simplify optional reset handling

2017-01-30 Thread Philipp Zabel
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls. This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally.