Re: [PATCH 1/2] reset: Do not return NULL on error for devm_reset_control_get_optional()

2021-06-19 Thread Simon Glass
Hi Pratyush, On Tue, 8 Jun 2021 at 04:40, Pratyush Yadav wrote: > > Hi, > > On 14/05/21 10:48AM, Kishon Vijay Abraham I wrote: > > Hi Simon, > > > > On 14/05/21 5:26 am, Simon Glass wrote: > > > Hi Kishon, > > > > > > On Thu, 13 May 2021 at 00:15, Kishon Vijay Abraham I > > > wrote: > > >> > >

Re: [PATCH 1/2] reset: Do not return NULL on error for devm_reset_control_get_optional()

2021-06-08 Thread Pratyush Yadav
Hi, On 14/05/21 10:48AM, Kishon Vijay Abraham I wrote: > Hi Simon, > > On 14/05/21 5:26 am, Simon Glass wrote: > > Hi Kishon, > > > > On Thu, 13 May 2021 at 00:15, Kishon Vijay Abraham I wrote: > >> > >> Hi Simon, > >> > >> On 11/05/21 10:09 pm, Simon Glass wrote: > >>> Hi Kishon, > >>> > >>>

Re: [PATCH 1/2] reset: Do not return NULL on error for devm_reset_control_get_optional()

2021-05-13 Thread Kishon Vijay Abraham I
Hi Simon, On 14/05/21 5:26 am, Simon Glass wrote: > Hi Kishon, > > On Thu, 13 May 2021 at 00:15, Kishon Vijay Abraham I wrote: >> >> Hi Simon, >> >> On 11/05/21 10:09 pm, Simon Glass wrote: >>> Hi Kishon, >>> >>> On Tue, 11 May 2021 at 00:26, Kishon Vijay Abraham I wrote: Hi Simon,

Re: [PATCH 1/2] reset: Do not return NULL on error for devm_reset_control_get_optional()

2021-05-13 Thread Simon Glass
Hi Kishon, On Thu, 13 May 2021 at 00:15, Kishon Vijay Abraham I wrote: > > Hi Simon, > > On 11/05/21 10:09 pm, Simon Glass wrote: > > Hi Kishon, > > > > On Tue, 11 May 2021 at 00:26, Kishon Vijay Abraham I wrote: > >> > >> Hi Simon, > >> > >> On 07/05/21 10:04 pm, Simon Glass wrote: > >>> Hi

Re: [PATCH 1/2] reset: Do not return NULL on error for devm_reset_control_get_optional()

2021-05-13 Thread Kishon Vijay Abraham I
Hi Simon, On 11/05/21 10:09 pm, Simon Glass wrote: > Hi Kishon, > > On Tue, 11 May 2021 at 00:26, Kishon Vijay Abraham I wrote: >> >> Hi Simon, >> >> On 07/05/21 10:04 pm, Simon Glass wrote: >>> Hi Kishon, >>> >>> On Fri, 7 May 2021 at 05:02, Kishon Vijay Abraham I wrote: In order

Re: [PATCH 1/2] reset: Do not return NULL on error for devm_reset_control_get_optional()

2021-05-11 Thread Simon Glass
Hi Kishon, On Tue, 11 May 2021 at 00:26, Kishon Vijay Abraham I wrote: > > Hi Simon, > > On 07/05/21 10:04 pm, Simon Glass wrote: > > Hi Kishon, > > > > On Fri, 7 May 2021 at 05:02, Kishon Vijay Abraham I wrote: > >> > >> In order for client to know whether it was able to successfully get a >

Re: [PATCH 1/2] reset: Do not return NULL on error for devm_reset_control_get_optional()

2021-05-11 Thread Kishon Vijay Abraham I
Hi Simon, On 07/05/21 10:04 pm, Simon Glass wrote: > Hi Kishon, > > On Fri, 7 May 2021 at 05:02, Kishon Vijay Abraham I wrote: >> >> In order for client to know whether it was able to successfully get a >> reset controller or not, do not return NULL on error for >>

Re: [PATCH 1/2] reset: Do not return NULL on error for devm_reset_control_get_optional()

2021-05-07 Thread Simon Glass
Hi Kishon, On Fri, 7 May 2021 at 05:02, Kishon Vijay Abraham I wrote: > > In order for client to know whether it was able to successfully get a > reset controller or not, do not return NULL on error for > devm_reset_control_get_optional() and > devm_reset_bulk_get_optional_by_node(). > >

[PATCH 1/2] reset: Do not return NULL on error for devm_reset_control_get_optional()

2021-05-07 Thread Kishon Vijay Abraham I
In order for client to know whether it was able to successfully get a reset controller or not, do not return NULL on error for devm_reset_control_get_optional() and devm_reset_bulk_get_optional_by_node(). Signed-off-by: Kishon Vijay Abraham I --- drivers/reset/reset-uclass.c | 16