Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4558544ybb; Tue, 7 Apr 2020 09:46:29 -0700 (PDT) X-Google-Smtp-Source: APiQypJpKvXeybo/j8CxrJjEMtXIImIY6F4yzA80VbpUrOUCwg35TzGjjc3cW0mUFUgCXqb0PK+s X-Received: by 2002:a4a:6549:: with SMTP id z9mr2637424oog.37.1586277989401; Tue, 07 Apr 2020 09:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586277989; cv=none; d=google.com; s=arc-20160816; b=i93gP7C76De6WKr4S76QYNuO66ZCaoPpL1JknU1r59ZgFbc71GcVJNw5RTUFB638ii 7SwjUO8ZemLiwxr2HQkgNaQZ2/0yLE4gCyOLY4lko5mCh09d/cs8e21J6Ktr0PZ2PY05 miQ02c7cclWgEULVjUxxdEhRSCIh4emie0DHgJ0D8csUfLU5dWGJ971zZPuI5DKypH1x OYzZzsVILIcoewXFCPHelopCKRtspMVVViRSBTdxJc9zaZrmH8Q+s+cTWdnseJAl+YeA Na6qtigDdyHLjckaCk/oDZJx0DMv9/Da52FCRiCbaOGpE454Ptszz2cF5ZZSkl/Lgf1n bA4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=R9dHFjOaPMQsaSClflJCrlQoK/O5+By+otwJwygb61Q=; b=hwPo5fSXECsK2ZfPd6wxcjee17Yfb3JKN3UWWUQIksATVDAz7KL6CZH4W+oDgHSGtT KfA4sMJIyU/VYG5uAnJ0OgIBAd4Xfl21PSFF0HkA841PxackKrnd3uqp8hg8TUDMV0wS DPbZci/4taGoXbb2yq9Qat2zrzVkGEsnd0/1RuDQ6BwhS1OYaCPT4LYCe4roO16L0IC5 cc3MD7xMzw/juOTfOn7ZgdDhdJcIa2llFMfx4MsE3E12IoYw2pB6rTwdNqLFwygGPgvl eE+J/QkGgVK6RKo7QQBgsUpHNRZVBNe2CfR8WbUAsaXbnvxJKLx0zM6lVKA/2wV8Iwv1 II0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si846376oii.113.2020.04.07.09.46.16; Tue, 07 Apr 2020 09:46:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726443AbgDGQoP (ORCPT + 99 others); Tue, 7 Apr 2020 12:44:15 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:44368 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbgDGQoP (ORCPT ); Tue, 7 Apr 2020 12:44:15 -0400 Received: by mail-ot1-f66.google.com with SMTP id a49so3767804otc.11; Tue, 07 Apr 2020 09:44:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R9dHFjOaPMQsaSClflJCrlQoK/O5+By+otwJwygb61Q=; b=HIcxdrCnmWTYQrDPgWKr+Jc812n9wXD6ddP3WFlo3sM16pT4Z6P6zowTDDh4A5hJCJ LGM9eHvAaDdTiXYNJI6PqTHwXVNHLYeLxCPOHXxfPueVScaBRCJC7zcaZgoo3rCITZh3 syNNOD2T6d1xCv42ox/6BvLDZwDfFE6IckNq4KgxB45G/02sbJl140L7OeWiY4ciIFKP 7FBJnp1Tl2KJmL6pzLz03hWJ/lSsC+b/AiabbNP6TVt5qRBJzrAl6DK1nJ2MYsVS5fMF drNGW+0ZSaCHrp84+LdepKXfhMssFHwdgDrxLdtDblcOgDzBimf2UEiWBbmW5LruBuQk 5D4g== X-Gm-Message-State: AGi0PuaNpxnshSgURS2haHAQQ3E7754dn+leiDHxQEIl3cO6ycNcpsJ1 u/Zaku/YmBqgiy8/xrZE8FY3oPt4wyFtA25EFtFstmvD X-Received: by 2002:a9d:7590:: with SMTP id s16mr2334844otk.250.1586277854332; Tue, 07 Apr 2020 09:44:14 -0700 (PDT) MIME-Version: 1.0 References: <20200407154245.2548-1-brgl@bgdev.pl> In-Reply-To: <20200407154245.2548-1-brgl@bgdev.pl> From: Geert Uytterhoeven Date: Tue, 7 Apr 2020 18:44:02 +0200 Message-ID: Subject: Re: [PATCH] gpio: pca953x: disable regmap locking To: Bartosz Golaszewski Cc: Linus Walleij , Marek Vasut , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 7, 2020 at 5:42 PM Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This driver uses its own locking but regmap silently uses a mutex for > all operations too. Add the option to disable locking to the regmap > config struct. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Geert Uytterhoeven SATA on Salvator-XS with R-Car H3 ES2.0 relies on a pca9654 GPIO hog and still works, so Tested-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds