Re: [RESEND PATCH 1/2] iio:core: Introduce unlocked version of iio_map_array_unregister()

2020-11-29 Thread Jonathan Cameron
On Sat, 28 Nov 2020 15:22:16 +0100 Lino Sanfilippo wrote: > Hi Jonathan, > > On 28.11.20 at 14:54, Jonathan Cameron wrote: > > > A few notes to make it harder for people to do that in future. > > 1. Don't send patch series (or new versions of older patches) in reply > >to an existing

[RESEND PATCH 1/2] iio:core: Introduce unlocked version of iio_map_array_unregister()

2020-11-28 Thread Lino Sanfilippo
Introduce an unlocked version of iio_map_array_unregister(). This function can help to unwind in case of error while the iio_map_list_lock mutex is held. Signed-off-by: Lino Sanfilippo Reviewed-by: Andy Shevchenko --- drivers/iio/inkern.c | 27 ++- 1 file changed, 18

Re: [RESEND PATCH 1/2] iio:core: Introduce unlocked version of iio_map_array_unregister()

2020-11-28 Thread Lino Sanfilippo
Hi Jonathan, On 28.11.20 at 14:54, Jonathan Cameron wrote: > A few notes to make it harder for people to do that in future. > 1. Don't send patch series (or new versions of older patches) in reply >to an existing thread. They get lost and difficult to pull out. >b4 can't automatically

Re: [RESEND PATCH 1/2] iio:core: Introduce unlocked version of iio_map_array_unregister()

2020-11-28 Thread Jonathan Cameron
On Sat, 28 Nov 2020 14:44:18 +0100 Lino Sanfilippo wrote: > Introduce an unlocked version of iio_map_array_unregister(). This function > can help to unwind in case of error while the iio_map_list_lock mutex is > held. > > Signed-off-by: Lino Sanfilippo > Reviewed-by: Andy Shevchenko Hi. The