Re: [PATCH][RFC] iio: core: add a class hierarchy on iio device lock

2019-10-22 Thread Jonathan Cameron
On Tue, 15 Oct 2019 23:11:43 +0200 Lars-Peter Clausen wrote: > On 10/14/19 5:59 PM, Olivier MOYSAN wrote: > > Hello Jonathan, > > > > Thanks for your comment. > > > > On 10/12/19 10:57 AM, Jonathan Cameron wrote: > >> On Fri, 11 Oct 2019 17:13:14 +0200 > >> Olivier Moysan wrote: > >> > >>>

Re: [PATCH][RFC] iio: core: add a class hierarchy on iio device lock

2019-10-15 Thread Lars-Peter Clausen
On 10/14/19 5:59 PM, Olivier MOYSAN wrote: > Hello Jonathan, > > Thanks for your comment. > > On 10/12/19 10:57 AM, Jonathan Cameron wrote: >> On Fri, 11 Oct 2019 17:13:14 +0200 >> Olivier Moysan wrote: >> >>> The aim of this patch is to correct a recursive locking warning, >>> detected when set

Re: [PATCH][RFC] iio: core: add a class hierarchy on iio device lock

2019-10-14 Thread Olivier MOYSAN
Hello Jonathan, Thanks for your comment. On 10/12/19 10:57 AM, Jonathan Cameron wrote: > On Fri, 11 Oct 2019 17:13:14 +0200 > Olivier Moysan wrote: > >> The aim of this patch is to correct a recursive locking warning, >> detected when setting CONFIG_PROVE_LOCKING flag (as shown in message below)

Re: [PATCH][RFC] iio: core: add a class hierarchy on iio device lock

2019-10-12 Thread Jonathan Cameron
On Fri, 11 Oct 2019 17:13:14 +0200 Olivier Moysan wrote: > The aim of this patch is to correct a recursive locking warning, > detected when setting CONFIG_PROVE_LOCKING flag (as shown in message below). > This message was initially triggered by the following call sequence > in stm32-dfsdm-adc.c d

[PATCH][RFC] iio: core: add a class hierarchy on iio device lock

2019-10-11 Thread Olivier Moysan
The aim of this patch is to correct a recursive locking warning, detected when setting CONFIG_PROVE_LOCKING flag (as shown in message below). This message was initially triggered by the following call sequence in stm32-dfsdm-adc.c driver, when using IIO hardware consumer interface. in stm32_dfsdm_