From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E876C433FE for ; Sun, 9 Oct 2022 12:03:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229886AbiJIMDn (ORCPT ); Sun, 9 Oct 2022 08:03:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiJIMDm (ORCPT ); Sun, 9 Oct 2022 08:03:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA9A31BEA2 for ; Sun, 9 Oct 2022 05:03:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4480A60BD6 for ; Sun, 9 Oct 2022 12:03:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34F0CC433C1; Sun, 9 Oct 2022 12:03:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665317020; bh=88Rrz7WpjK2fu1HAcpETvoy2xqJPXiF5srquZwunYeI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Uq9ksDB2qZt2bV9yy5F48OZqiKPE2TbQRFycqSn2xVmB6y6zcD//xlKUxZijeOuT2 rRJdjQe6/J9yLCgtcPSC3yuY+Uz5OD86RCaTSEa6SmkjFjoz4jDBk2v8THP/e+h/b8 q/sNzbwgmQ5hWXGlzXqbABz46cP2vxVzPidhQ9AN4W5W4aqFRSIF5I5tE7hEsICYER xLcBaZ9S0C6+02s1Y+7NgQZG+tRU6MrLxEb9xPN1SiOlfantpTCLs11g2qrFvGJQ11 zVxaZoC2/wxaL8ebV2U+F4MNIQiBNTXfjglc/6CPLk6Qo3dx9RZ+7tR8peKR2s5Vt4 25m/EP/1Wxfdg== Date: Sun, 9 Oct 2022 13:03:56 +0100 From: Jonathan Cameron To: Heiko =?UTF-8?B?U3TDvGJuZXI=?= Cc: linux-amlogic@lists.infradead.org, linux-imx@nxp.com, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Nuno =?UTF-8?B?U8Oh?= , Martin Blumenstingl , Neil Armstrong , Shawn Guo , Lars-Peter Clausen , Jyoti Bhayana , Hans de Goede , Andriy Tryshnivskyy , Pengutronix Kernel Team , Miquel Raynal , Cixi Geng , Baolin Wang , Ciprian Regus , Fabio Estevam , Sascha Hauer , Alexandru Ardelean , Florian Boor , Michael Hennerich , Orson Zhai , Chen-Yu Tsai , Chunyan Zhang , Vladimir Zapolskiy , Andy Shevchenko , Jerome Brunet , Haibo Chen , Kevin Hilman Subject: Re: [PATCH v2 07/16] iio: adc: rockchip_saradc: do not use internal iio_dev lock Message-ID: <20221009130153.794f404a@jic23-huawei> In-Reply-To: <1803833.atdPhlSkOF@diego> References: <20221004134909.1692021-1-nuno.sa@analog.com> <20221004134909.1692021-8-nuno.sa@analog.com> <1803833.atdPhlSkOF@diego> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Wed, 05 Oct 2022 09:44:37 +0200 Heiko St=C3=BCbner wrote: > Am Dienstag, 4. Oktober 2022, 15:49:00 CEST schrieb Nuno S=C3=A1: > > The iio_device lock is only meant for internal use. Hence define a > > device local lock to protect against concurrent accesses. > >=20 > > While at it, properly include "mutex.h" for mutex related APIs. > >=20 > > Signed-off-by: Nuno S=C3=A1 =20 >=20 > Acked-by: Heiko Stuebner >=20 >=20 Applied and pushed out as testing. Note I'll be rebasing on rc1 once availa= ble. Thanks, Jonathan