Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp887057rdb; Fri, 1 Dec 2023 00:49:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IG7WDhOMRZotanDmwonlOzkNv32bDrwOJ00MtGGffvpO61T1zghrSSuCdubEkq4uQi6XLM+ X-Received: by 2002:a05:6358:9144:b0:16d:c941:94a3 with SMTP id r4-20020a056358914400b0016dc94194a3mr20915027rwr.22.1701420595828; Fri, 01 Dec 2023 00:49:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701420595; cv=none; d=google.com; s=arc-20160816; b=k9gdXe9E+Iph7ziHYmD5wgcXtNPNSGTo9NJURaIc3cAc5bAwomnUxtBILil1xrpzS1 uvE8xgOY7hKwVHwKqbPGAULnIi/GnfdFPuxybuCpbQdz16bMRCXmfrkwmC+MMd+v6jXB tr4wjV11jc6jIzN60OHm1wETP38UNGOVouJ8SGzNMToKLileUK6fVVj0ZFzZJoEO5t6j pqVIK68sfhoVpI+xvK1K0RJ+UIg/cFBJkO3Jsww7DZbYSqgnqzeklAjxJVYAIpWEZaAJ lpWJpe8GrwQy0nHVLhsW7peGkmAW/4RyySS6KBBvFPoD7RSnJIvmLrrVS+homDuIZXFd a6rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=v7alrT3VKpjqc/zejMMdUv/TgzBqcFS97MJedFjkKsQ=; fh=GQxDNlU0szhKG+eay4kofdBwtci3PaXxPlX9M257frU=; b=MMKmBJ85lnE4qnwG9QxMcJ4uZqHbs7isPXtoeHFUqbwewNuxF3J11U29vDJxpKDS5a d4/N1rSHI0z1Z+c2k00L1TRlTmbDv/3cXkXncQ6kOct+A1NIHAm6DhfgRhdCutyOsL0A xfQYbIkoU0Ou0B5LRWs9ZaD+x08dCMda+6ZsVAXSp9sWBcnBWFXoBzD/AV0Z/GdRiMc0 aZ4RK5TksEWp1iPD2fYEzqtSw6o+PO8X5h+1McXLulIkI8Hy2ZPD6vtNFWxGTrnEc+SD A4bE7h0pQKKvXRA/1VV+NQOrnmCda7UJVctfTcXTG8/u4WQ9vXBPrsd3jeCqwvaYfME8 rwDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Jpm8NPkz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u21-20020a056a00125500b006cb83204cffsi2993971pfi.256.2023.12.01.00.49.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 00:49:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Jpm8NPkz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 1A26E8343948; Fri, 1 Dec 2023 00:49:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377855AbjLAIth (ORCPT + 99 others); Fri, 1 Dec 2023 03:49:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377916AbjLAItg (ORCPT ); Fri, 1 Dec 2023 03:49:36 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0698F12A; Fri, 1 Dec 2023 00:49:42 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40b2ddab817so17710665e9.3; Fri, 01 Dec 2023 00:49:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701420580; x=1702025380; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=v7alrT3VKpjqc/zejMMdUv/TgzBqcFS97MJedFjkKsQ=; b=Jpm8NPkzQRn6//lsEwPYBRhYlMjJO+L+4aV+VgCnaA7rq8xM9vVPez1pJjTstfC8eX Ke11jwLLRmuMQA5YShw8E1qIdLzj/iTxK4g0n8WgCr/shJbgK/7vXuPfU82WcNq1MZac zu7H72yar3Y2de5ZEh3sUyERKp7qPXPy7ikKtJ9l9GYsXeltLWHMVbUigeRK4qK/Z+Ti 1vX6WN2B3vnD2nqJCiqQVimMPlOIblDyPkis59FzJdTjyJGb0TbOLt3XQPUV7df0s105 ooZhTTgaXLH4Y1BxXfB1sIG63znhgiwrocd7zWu+khlVvxdHr9NaHIG5DkmW2EyXakay OXgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701420580; x=1702025380; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=v7alrT3VKpjqc/zejMMdUv/TgzBqcFS97MJedFjkKsQ=; b=ksRYEKV5ksqLv0tlnwE0LD9MVP5WLmhPNfY+K7VATB+5k38YcwxqYzpaMghiZ3WpO8 iwfiUfSxKOKZ/tmJRUXYXChauM15vWANuP12qbKsK28/DWvbcYKJ6czKD96pE5rUe/O6 d5vXIeFPEI5wuD4bSILt5gcuMznd1eC0IDudAoifncgqvlzLd8mcbHdQBlM7TW6zqi1L BnnV0eK9WVJqQ4iMdgyi6kn+lq3BWApKgldH4lwlNMTswwoXV/cDzXgX2jbP4OoZSXqd lZAx7EQisitN4hWoTGMNTpxj1VYpXWUVivVt6pYZq/dhKeNoWCHAuLj9xlXyZlpxFuiG nPag== X-Gm-Message-State: AOJu0YzYr1wxc4iU1kG4yBuWjMLe0U607MT9BHiHMecvIYJ217BQjjNB zt4IfWPP87UtzQbyc+7ObX0= X-Received: by 2002:a7b:c855:0:b0:40b:5e21:e284 with SMTP id c21-20020a7bc855000000b0040b5e21e284mr270594wml.113.1701420580099; Fri, 01 Dec 2023 00:49:40 -0800 (PST) Received: from ?IPv6:2001:a61:3456:4e01:6ae:b55a:bd1d:57fc? ([2001:a61:3456:4e01:6ae:b55a:bd1d:57fc]) by smtp.gmail.com with ESMTPSA id fa10-20020a05600c518a00b00405442edc69sm8298549wmb.14.2023.12.01.00.49.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 00:49:39 -0800 (PST) Message-ID: <2343dacb0ec0a4878c8e41748ed6e586ff53ccd4.camel@gmail.com> Subject: Re: [PATCH 06/12] iio: adc: ad9467: add mutex to struct ad9467_state From: Nuno =?ISO-8859-1?Q?S=E1?= To: David Lechner , nuno.sa@analog.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Olivier MOYSAN , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Frank Rowand , Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich Date: Fri, 01 Dec 2023 09:49:38 +0100 In-Reply-To: References: <20231121-dev-iio-backend-v1-0-6a3d542eba35@analog.com> <20231121-dev-iio-backend-v1-6-6a3d542eba35@analog.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 01 Dec 2023 00:49:53 -0800 (PST) T24gVGh1LCAyMDIzLTExLTMwIGF0IDE1OjUwIC0wNjAwLCBEYXZpZCBMZWNobmVyIHdyb3RlOgo+ IE9uIFR1ZSwgTm92IDIxLCAyMDIzIGF0IDQ6MTfigK9BTSBOdW5vIFNhIHZpYSBCNCBSZWxheQo+ IDxkZXZudWxsK251bm8uc2EuYW5hbG9nLmNvbUBrZXJuZWwub3JnPiB3cm90ZToKPiA+IAo+ID4g RnJvbTogTnVubyBTYSA8bnVuby5zYUBhbmFsb2cuY29tPgo+ID4gCj4gPiBXaGVuIGNhbGxpbmcg YWQ5NDY3X3NldF9zY2FsZSgpLCBtdWx0aXBsZSBjYWxscyB0byBhZDk0Njdfc3BpX3dyaXRlKCkK PiA+IGFyZSBkb25lIHdoaWNoIG1lYW5zIHdlIG5lZWQgdG8gcHJvcGVybHkgcHJvdGVjdCB0aGUg d2hvbGUgb3BlcmF0aW9uIHNvCj4gPiB3ZSBhcmUgc3VyZSB3ZSB3aWxsIGJlIGluIGEgc2FuZSBz dGF0ZSBpZiB0d28gY29uY3VycmVudCBjYWxscyBvY2N1ci4KPiA+IAo+ID4gRml4ZXM6IGFkNjc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