Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2722793rdh; Wed, 27 Sep 2023 10:38:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHr7IARbb5FMNxcDxkAgQW+wJ3yiJymyjTm0P8aMyT+yinXvCnvBFqzevua2bRLXofAc4Mh X-Received: by 2002:a05:6a20:324f:b0:161:3110:bbc8 with SMTP id hm15-20020a056a20324f00b001613110bbc8mr2516435pzc.36.1695836301217; Wed, 27 Sep 2023 10:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695836301; cv=none; d=google.com; s=arc-20160816; b=SnVQmlSR6qkDT3PECzUPSxqKNv9DtapvsehtBhsEbBQ0HBsJuctllV1QhUz7TJMyND DaY2VRsD47/Vkh7VLf3472wKt6V1hFn+aIXr6tD8wJXOuqkq/CPyVGiZDHdkKDXEkxV6 QVAWxwcYhYRKEM3r6jWFqDt19oenFcOIKj49g6UkIZc6ldeA//d4TQsv24CbieqAq+Qs 4fqwljQdl0mrnZhmPjjkpfBuMWxzuGxQsdUQ5CAMVFqQ3sD1l2FT0vPd0YeAoIMZR9d9 aGZXwSK37bUxp9tdYHxkPLng124M9M5CHHNeunVU1OxltbFoAuRoQhaBwusedEQSl4Ej OphA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ghpkue7N6oiwgsmKag0rzCvKeWoEMHhP4MSi8oTAVck=; fh=PEhgjUGgc2Riks2EvSyJfwjmnL+HQOakL/Pei3njxhM=; b=0INROnJ7fx6ibW630LGbTLr1LSNpJPPj1kx6xQfDJxZVrv4eLNe9suuc8Iwd4iUhEf NnkuIMIgxftVBG+enRTT3per5Spy++IXiseW7I/WJn9bTzH2mLq6+y3j9T82/5YsTuDS b6IgTBu3olgwOfUfkMC7ElhohgNV+xjXNzAx6DlM0EUETvMBGqKTTIN9YE3K0HXwguxk 6Xc1WE/bI47KvLWj7jmY444SINyBx6KKVdt/4SmDXpssXG7i/VG3H3EXtWrsCvv+otqD kGtiQxBhjYNSzAgHcguqVWSUvoTvfLwBh2h35wbS7YznZJJbFC6ArdghIbYvmSHQ0PLb zrBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=p2pGSvuX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id lk2-20020a17090b33c200b00276945c92c1si18216091pjb.36.2023.09.27.10.38.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 10:38:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=p2pGSvuX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 231E98029251; Wed, 27 Sep 2023 00:13:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229504AbjI0HNY (ORCPT + 99 others); Wed, 27 Sep 2023 03:13:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbjI0HNW (ORCPT ); Wed, 27 Sep 2023 03:13:22 -0400 Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3110E126 for ; Wed, 27 Sep 2023 00:13:21 -0700 (PDT) Received: by mail-vs1-xe2b.google.com with SMTP id ada2fe7eead31-4527ba546d2so3934830137.2 for ; Wed, 27 Sep 2023 00:13:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1695798800; x=1696403600; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ghpkue7N6oiwgsmKag0rzCvKeWoEMHhP4MSi8oTAVck=; b=p2pGSvuXJe63WqsWpESNlKlGO+hbak4OmXhPyRV/bCBD0OiRIpVUOAGhaXyR9USvNq kElwNeMbi0EbPVjcC65L2Yc0KkbdgZCevuT6PevLswUXNgr3dJXX04QhnbtvWcppY8+k aHCa0Kv+dLvEkNWp5wg4IDvPAIb1oa4W+GKKoAb5/pnet7iTnHGlibhnqDKqCFEi2PjF V6YRbH2/x7AdjlsXqozd1+3GOq98Dg1vCUAovUQqa4aAgwTLHMu06BB3T0c7yO70Q/H7 VwcHzXrVr8M854FRbucBBE6+IrKipLb7fgT8sUQqWvnM4NWmfwKGvoK7QcvYLbjUmBhr 7/zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695798800; x=1696403600; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ghpkue7N6oiwgsmKag0rzCvKeWoEMHhP4MSi8oTAVck=; b=TEmCO3PGusHnO3Cz+rHJqEIVrvONwwWL6OKb8sUHrkmfWMkoLk9wf4rEGx0ox6oVWU AKLJomLXvTFF+8eh75jbqmskuHYzLeuIXAiL9fECFpr/oEv1K2oA8rlTktxYnyi9AXN0 uBu8mOAExS2BJ0DXuCNJ0SjTM6M96vbQEF148j96V48iPOOoy+Rs4wTz3rj3DcLgZlyy wheTSRvTFMzGQCQHqrQSaqtJCAbM0UwE0jwHcQOjCujRMxVLEJDHiwm/dSoQBOJx9Cba hqWVP8g5+gG/EDMgaMNrNGFSVPbgZ1D+PLdrhj7ueg/4Qc2mSFtioWx41F2MTn2aU7V7 rJvg== X-Gm-Message-State: AOJu0YyW1K8G+onauyNWl2A+FhgwjF1WqrjEZwUfA+3BFCpqzPH16bxH /eamrm2pYYeeMxZP6u4qs92m6aLKr2bDpVtcxCaZMQ== X-Received: by 2002:a67:e218:0:b0:452:c3a4:1f9e with SMTP id g24-20020a67e218000000b00452c3a41f9emr981881vsa.19.1695798800231; Wed, 27 Sep 2023 00:13:20 -0700 (PDT) MIME-Version: 1.0 References: <20230921122527.15261-1-Wenhua.Lin@unisoc.com> <20230921122527.15261-3-Wenhua.Lin@unisoc.com> In-Reply-To: From: Bartosz Golaszewski Date: Wed, 27 Sep 2023 09:13:09 +0200 Message-ID: Subject: Re: [PATCH V2 2/2] gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip To: Andy Shevchenko Cc: Wenhua Lin , Linus Walleij , Orson Zhai , Baolin Wang , Chunyan Zhang , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, wenhua lin , Xiongpeng Wu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 27 Sep 2023 00:13:27 -0700 (PDT) On Thu, Sep 21, 2023 at 5:40=E2=80=AFPM Andy Shevchenko w= rote: > > On Thu, Sep 21, 2023 at 08:25:27PM +0800, Wenhua Lin wrote: > > The drivers uses a mutex and I2C bus access in its PMIC EIC chip > > get implementation. This means these functions can sleep and the PMIC E= IC > > chip should set the can_sleep property to true. > > > > This will ensure that a warning is printed when trying to get the > > value from a context that potentially can't sleep. > > This deserves a Fixes tag. > > -- > With Best Regards, > Andy Shevchenko > > Added when applying and queued for fixes. Bart