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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE12FC433FE for ; Wed, 5 Oct 2022 07:45:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rFJbEcE9R7tIPgABMozhxnfiag7NQ+LFD7VHE+wNMLE=; b=cdHZ7x/4pnb49h I83c7cx57W7Ahd+Nc5TKJ4QXdW710iBdGd9w1jQYE69pTus9cAGfPN3WnWF0zJEXBOTIVF/Apj/zl iRiuPeBc/WN7LwpzSYOpYWy1gO/QZZ1GLW6IZdsVBdYMrTwwUPFHO9SFL/6RMOUSex6kIuZC4oJ9B Mt7EgO7pzHjekAULN0JXIkvCfcTw/1UZqRh+zhfEaCcVEVh4adA5qqEOY3fxP1LvWj7uOOTsbruzz kRBLts/gkcfXNaXSLNznfiP/r96nWZI377TH95DxXwNxp4UKXb8Y+Mxoedq/GQmjAL3SkSmzyyXB0 lXBztLF7fICDqjcoZlbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofz5U-00CtIw-75; Wed, 05 Oct 2022 07:45:04 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofz5I-00Ct52-Oq; Wed, 05 Oct 2022 07:44:53 +0000 Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ofz55-0007td-Pd; Wed, 05 Oct 2022 09:44:39 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: 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 =?ISO-8859-1?Q?S=E1?= Cc: 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 , Nuno =?ISO-8859-1?Q?S=E1?= , 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 , Jonathan Cameron Subject: Re: [PATCH v2 07/16] iio: adc: rockchip_saradc: do not use internal iio_dev lock Date: Wed, 05 Oct 2022 09:44:37 +0200 Message-ID: <1803833.atdPhlSkOF@diego> In-Reply-To: <20221004134909.1692021-8-nuno.sa@analog.com> References: <20221004134909.1692021-1-nuno.sa@analog.com> <20221004134909.1692021-8-nuno.sa@analog.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221005_004452_822159_44F52371 X-CRM114-Status: UNSURE ( 6.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Am Dienstag, 4. Oktober 2022, 15:49:00 CEST schrieb Nuno S=E1: > 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=E1 Acked-by: Heiko Stuebner _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip