Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp486111rdb; Fri, 6 Oct 2023 09:06:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjXWfQtCeE6DRUUvjv9slIUNXLuFO3m67R9GZ7CkrFg8Z/68PFm8iRapmSnrVCkuBuBvEv X-Received: by 2002:a05:6e02:216c:b0:352:a73a:16f1 with SMTP id s12-20020a056e02216c00b00352a73a16f1mr9052665ilv.14.1696608360447; Fri, 06 Oct 2023 09:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696608360; cv=none; d=google.com; s=arc-20160816; b=KkxIrMzSZPYZzXI2QfLHxnAuu9eR5kX+f/MkBB1o82WoQH5x/6wajIXSzgIma/JU0M vW3HJ4IIIT6QI7bHxBi5LtA75kF5sIhnikIVZoq60Wypy7jjSfL4efQt6kJJteZqFN1R oMZfEKes36gmZzdM36FPMwUw0t/984E2tQRstmgt+kCwyY6HKHiDpyVBrrxozebJi3N2 OD+1wjFIoimjwyGzCCyKKTFMXtK1mtPO87nxGre99tKval92ZN8GwqnYBwJsavIeaJYM lFJXcONc59hcy3HF5Rq+5B85+IxmCU2cRZOuqX6Eba/pfyoDW5DOyuzvAcRR8mtczE9I 7cyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=WaWXADN19ORvBXYMLJECaMTRXaSMTpZYcOLrM7Lv0aQ=; fh=sORWI5m16YEVk6NuaHBH7AzDgvChSOROlmEzxQvCLqs=; b=spyfqzKLCAdz7mL8IS6yp7LMcTScRPYKzzAsPeVXSaukCebHhoNqEx706JW7ARpPI8 Wj09W+nc6aXMFpb4FKKKPFCscMF7QG5g1nXJSKbKbtdnZAhTut15KrDQyV2z9C2Ua2Rd 1kC5ohjHkyE1ZFoulC1Xd3nIL4Soe5CJTpijLkxQcyuQWsN+nh5825KM5IUbTdrlF858 YsvDz5aFr2TaAxviM9j3AusDKqFk7Hne6PR4wq4SzyAyeBfm4+88p6z/DO8Si6jlVRQz smPuHhKeSD3kCvDh/hlpz5gpICh6qfJV4z7ZT5b0g3O9aNchpKa2BqBQjSIKLr+1W1lG yMlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=PmyneMcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id f20-20020a63f114000000b00573fc71f6d9si4148242pgi.64.2023.10.06.09.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 09:06:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=PmyneMcw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A226880C1C36; Fri, 6 Oct 2023 09:05:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232918AbjJFQFX (ORCPT + 99 others); Fri, 6 Oct 2023 12:05:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232938AbjJFQFG (ORCPT ); Fri, 6 Oct 2023 12:05:06 -0400 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 380FBCA; Fri, 6 Oct 2023 09:05:05 -0700 (PDT) Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 5E5E912000E; Fri, 6 Oct 2023 19:05:03 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 5E5E912000E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1696608303; bh=WaWXADN19ORvBXYMLJECaMTRXaSMTpZYcOLrM7Lv0aQ=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=PmyneMcwDIwgP/VkvXd1A3ZkKJcEPIb7S6mWuLFlyeZxcO7Z+9Bo1B5P5BrHc6+Yx OX3RVim6scjvNm6hadttpzduzbkVYXXrQcliciWhUVzwHJ1z0q+loTnbr5ZxNjxIA7 6OBVirF9LwXDkZHK6rHooH7Cy4ix0EVtUMFXoxSFCP1HxFPTM+vrbXOyTus87hfRn2 FDMXVDNXhFRPu5a//yo8Tnil8l2HRnN7YZRtfEX7qy+zbSsfD2OyXCaLfXd4BnPb6H NDF1IZX9J/XU4sK3g92Z0efqA3bQcLC8gMmdF6nHLhCuwcsSFEECsN5B7DFxoghFwI ym/4Akxc3/TLw== Received: from p-i-exch-sc-m01.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Fri, 6 Oct 2023 19:05:02 +0300 (MSK) Received: from localhost.localdomain (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 6 Oct 2023 19:05:02 +0300 From: Dmitry Rokosov To: , , , , , CC: , , , , , George Stark , Dmitry Rokosov Subject: [PATCH v1 08/11] leds: aw200xx: enable disable_locking flag in regmap config Date: Fri, 6 Oct 2023 19:04:34 +0300 Message-ID: <20231006160437.15627-9-ddrokosov@salutedevices.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20231006160437.15627-1-ddrokosov@salutedevices.com> References: <20231006160437.15627-1-ddrokosov@salutedevices.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 180439 [Oct 06 2023] X-KSMG-AntiSpam-Version: 6.0.0.2 X-KSMG-AntiSpam-Envelope-From: ddrokosov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 535 535 da804c0ea8918f802fc60e7a20ba49783d957ba2, {Tracking_from_domain_doesnt_match_to}, d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;100.64.160.123:7.1.2;127.0.0.199:7.1.2;p-i-exch-sc-m01.sberdevices.ru:7.1.1,5.0.1;salutedevices.com:7.1.1, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2023/10/06 13:25:00 #22070343 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Fri, 06 Oct 2023 09:05:44 -0700 (PDT) X-Spam-Level: ** From: George Stark In the driver regmap is always used under mutex so regmap's inner lock can be disabled. Signed-off-by: George Stark Signed-off-by: Dmitry Rokosov --- drivers/leds/leds-aw200xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/leds-aw200xx.c b/drivers/leds/leds-aw200xx.c index a1ef0b0a62fc..5a1a93ffe36c 100644 --- a/drivers/leds/leds-aw200xx.c +++ b/drivers/leds/leds-aw200xx.c @@ -541,6 +541,7 @@ static const struct regmap_config aw200xx_regmap_config = { .rd_table = &aw200xx_readable_table, .wr_table = &aw200xx_writeable_table, .cache_type = REGCACHE_RBTREE, + .disable_locking = true, }; static int aw200xx_probe(struct i2c_client *client) -- 2.36.0