On Sun, 9 Oct 2022 02:00:22 +0000 Bough Chen <haibo.chen@xxxxxxx> wrote: > > -----Original Message----- > > From: Nuno Sá <nuno.sa@xxxxxxxxxx> > > Sent: 2022年10月4日 21:49 > > To: linux-amlogic@xxxxxxxxxxxxxxxxxxx; dl-linux-imx <linux-imx@xxxxxxx>; > > linux-iio@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; > > linux-rockchip@xxxxxxxxxxxxxxxxxxx > > Cc: Heiko Stuebner <heiko@xxxxxxxxx>; Martin Blumenstingl > > <martin.blumenstingl@xxxxxxxxxxxxxx>; Neil Armstrong > > <narmstrong@xxxxxxxxxxxx>; Shawn Guo <shawnguo@xxxxxxxxxx>; Lars-Peter > > Clausen <lars@xxxxxxxxxx>; Jyoti Bhayana <jbhayana@xxxxxxxxxx>; Hans de > > Goede <hdegoede@xxxxxxxxxx>; Andriy Tryshnivskyy > > <andriy.tryshnivskyy@xxxxxxxxxxxxxxx>; Pengutronix Kernel Team > > <kernel@xxxxxxxxxxxxxx>; Miquel Raynal <miquel.raynal@xxxxxxxxxxx>; Cixi > > Geng <cixi.geng1@xxxxxxxxxx>; Baolin Wang > > <baolin.wang@xxxxxxxxxxxxxxxxx>; Ciprian Regus <ciprian.regus@xxxxxxxxxx>; > > Fabio Estevam <festevam@xxxxxxxxx>; Nuno Sá <nuno.sa@xxxxxxxxxx>; > > Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>; Alexandru Ardelean > > <aardelean@xxxxxxxxxxx>; Florian Boor <florian.boor@xxxxxxxxxxxxxxxxx>; > > Michael Hennerich <Michael.Hennerich@xxxxxxxxxx>; Orson Zhai > > <orsonzhai@xxxxxxxxx>; Chen-Yu Tsai <wens@xxxxxxxx>; Chunyan Zhang > > <zhang.lyra@xxxxxxxxx>; Vladimir Zapolskiy <vz@xxxxxxxxx>; Andy > > Shevchenko <andy.shevchenko@xxxxxxxxx>; Jerome Brunet > > <jbrunet@xxxxxxxxxxxx>; Bough Chen <haibo.chen@xxxxxxx>; Kevin Hilman > > <khilman@xxxxxxxxxxxx>; Jonathan Cameron <jic23@xxxxxxxxxx> > > Subject: [PATCH v2 03/16] iio: adc: imx7d_adc: do not use internal iio_dev lock > > > > The iio_device lock is only meant for internal use. Hence define a device local > > lock to protect against concurrent accesses. > > > > While at it, properly include "mutex.h" for mutex related APIs. > > > > Signed-off-by: Nuno Sá <nuno.sa@xxxxxxxxxx> > > Reviewed-by: Haibo Chen <haibo.chen@xxxxxxx> Applied to the togreg branch of iio.git and pushed out as testing for 0-day to take a look at it. Note I'll be rebasing on rc1 once available. Thanks, Jonathan