Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2945762rwb; Sun, 20 Nov 2022 04:48:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf5AwQ6j8o1pIJP3S+HfjDwwhI6ortocDW022UzIcbfluDBZzW8YcZH76rbzwEhR83F7/Pdx X-Received: by 2002:a17:902:ebc1:b0:186:b6aa:5646 with SMTP id p1-20020a170902ebc100b00186b6aa5646mr7468089plg.73.1668948492581; Sun, 20 Nov 2022 04:48:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668948492; cv=none; d=google.com; s=arc-20160816; b=zh3BOjS8weJ3NFlw8EVoYFSdJ9kif/VMrCh1dPwQJudvPYERCyBh2MeGhFUnt7h69v 0/1nJCdbEmZMBfQzOY2z4RWvASwEuK2S2S8UakwtNlXlZtPtcRXBnXWINjBmdmGUimHt N4al1LyZXE+NJLs6IEE1VJxMr/e4hZnGK41JV031T/VdXAKnnZuAFSUM8e0XG2I36oGM RBAGuC08AeK1kBUMPbx4cLanOw+yaHUWLHhh6lqXCVErJe/gXLaViGhecx1Oi+i1jPgY mnHyxG0OlnGIgCVEnkW5MbynRURTE1M2NjrO/u7JIwhjj9xmZPUh7Vel26DyiyDph4I7 amZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=R3RC94dFUI9XuWDZS+NGRURpEncXuZJoI/k2VjqNqZI=; b=BQmKHQfmDyTI/YZUNhwyklMr88lkfa4kHPzC3D4xXt1wXE4I2GqC2ubliA08D3d6u/ tH6ERcSlSOkXRXazNC45B9AoHIbKd3JGibZVKdYWhTdKXSHEdUZpqUackdHpdzhXVk1z DPiRpfihDwazLDMXGkWCkul+CEbSXEMUpGckIn0hS5ccjkiqUuTIlOEOtVns7msm21gO LtH7gTSsYRmXLX3IZEHGsl0YMNQWvJu0v4zIkaLAm4UIjqu3De1GgGIzsM1uK5R+PaFS ZmHu7SagPus4EvCja5BTfxMEIcKNRW1/96eN1gIYv7l2JE4JijfreXg1uB/hOZxAaYnL Hw9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ceZA88J+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o6-20020a6548c6000000b00473c36e3b85si8953086pgs.678.2022.11.20.04.48.01; Sun, 20 Nov 2022 04:48:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ceZA88J+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229491AbiKTL57 (ORCPT + 92 others); Sun, 20 Nov 2022 06:57:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbiKTL5w (ORCPT ); Sun, 20 Nov 2022 06:57:52 -0500 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B625B870 for ; Sun, 20 Nov 2022 03:57:49 -0800 (PST) Received: by mail-pf1-x432.google.com with SMTP id v28so8942467pfi.12 for ; Sun, 20 Nov 2022 03:57:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=R3RC94dFUI9XuWDZS+NGRURpEncXuZJoI/k2VjqNqZI=; b=ceZA88J+EfDETft4atPPB7o4s+yW4eXgb9n7ZManZDLam0Xs+4lRTSFYTz7rfy8xjR m8q5VvYDCDo7MGKpSXEluyrAzRrNBlycx328NsJos698JmiU52EraCbEfjKwZ7724Gqc D6EQsSDT8x5XizKA/qFWPKco5E6G0xd+CbH0uPEogR55injV+bYsEaHN3ypnGvBSUcys 72bnecA1nVRahh9J3gHMZNhc3sw+ERANpCF/oVUmwkTbk2oowEWLBaVSCvzp0ySj7OxL Ef5phQt9z+Eu0+uey5Xzx3ZCYTcZAfoWDXK8OlxzOjqnoB9eQTsMedo7sbM49fXCOQHi c/BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=R3RC94dFUI9XuWDZS+NGRURpEncXuZJoI/k2VjqNqZI=; b=p96xzUEHXCORK3hztxci/VxnbvJUrJom+KUylJowRtTDfU6AvqP6RmbyCeRkSBPgbn kuCLdcyOdbmqrvevcYJYyN+PtyfM8UTphVHNNhCXTDgM+rqgy1b2ActD4i/EMAdIlIFM U13zgm3nYeBjKUH0kLFhGiDxwa42G5/YC5F1hLU4RSp++GND+goiy4UxwwgyfYJAUrVb Hku64NUxprfMbXOreyEIqm4dAgkNQkh+kEx4YLALc/i2NoPBLj3M+/z0xU9CHyLpgLKN evCul757+O+SF7k3sT0xom7xsuQvM6l3z/rH+cJwvhfX7tpHPqukjXjsM3vhRMTn42YJ HKMA== X-Gm-Message-State: ANoB5pkNxYOzG2JBaQNgvdDcUpZKFTkRKdWPSoanQVkqkmHr/CQuI8CY KL2kE5scIyPyStJ9rxVfY3w= X-Received: by 2002:a63:4d5c:0:b0:46e:dc0a:ba96 with SMTP id n28-20020a634d5c000000b0046edc0aba96mr13927479pgl.419.1668945468431; Sun, 20 Nov 2022 03:57:48 -0800 (PST) Received: from [172.30.1.1] ([14.32.163.5]) by smtp.gmail.com with ESMTPSA id w1-20020aa79541000000b0056c360af4e3sm6577412pfq.9.2022.11.20.03.57.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Nov 2022 03:57:47 -0800 (PST) Message-ID: Date: Sun, 20 Nov 2022 20:57:44 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] extcon: max77843: Replace irqchip mask_invert with unmask_base Content-Language: en-US To: Aidan MacDonald , cw00.choi@samsung.com, krzysztof.kozlowski@linaro.org, myungjoo.ham@samsung.com Cc: linux-kernel@vger.kernel.org References: <20221112152446.41690-1-aidanmacdonald.0x0@gmail.com> From: Chanwoo Choi In-Reply-To: <20221112152446.41690-1-aidanmacdonald.0x0@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 22. 11. 13. 00:24, Aidan MacDonald wrote: > Remove use of the deprecated mask_invert flag. Inverted mask > registers (where a '1' bit enables an IRQ) can be described more > directly as an unmask register. > > Signed-off-by: Aidan MacDonald > --- > drivers/extcon/extcon-max77843.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/extcon/extcon-max77843.c b/drivers/extcon/extcon-max77843.c > index 8e6e97ec65a8..1bc0426ce3f1 100644 > --- a/drivers/extcon/extcon-max77843.c > +++ b/drivers/extcon/extcon-max77843.c > @@ -189,8 +189,7 @@ static const struct regmap_irq max77843_muic_irq[] = { > static const struct regmap_irq_chip max77843_muic_irq_chip = { > .name = "max77843-muic", > .status_base = MAX77843_MUIC_REG_INT1, > - .mask_base = MAX77843_MUIC_REG_INTMASK1, > - .mask_invert = true, > + .unmask_base = MAX77843_MUIC_REG_INTMASK1, > .num_regs = 3, > .irqs = max77843_muic_irq, > .num_irqs = ARRAY_SIZE(max77843_muic_irq), Applied it. Thanks. -- Best Regards, Samsung Electronics Chanwoo Choi