From nobody Mon Apr 13 14:53:14 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43459C4332F for ; Sat, 12 Nov 2022 15:20:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234888AbiKLPU0 (ORCPT ); Sat, 12 Nov 2022 10:20:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234969AbiKLPT5 (ORCPT ); Sat, 12 Nov 2022 10:19:57 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7893C18E22 for ; Sat, 12 Nov 2022 07:19:47 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id t4so4525247wmj.5 for ; Sat, 12 Nov 2022 07:19:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rYG0lELIkcRCGP8jsgHL4HQoIjFGIvh4hrSttLYXXSA=; b=eWLIQMsyzKlZKoLwyJYvo9XYbHuX9uT7yE0YZ+4Z7WOpbke8Up9yi/V2ZrY7P8yH0G t57zawvnFxzUA22VM0ORJC5vwC8SMdRfdJSDVnckgh0RiNPh92Of50bx0cQ25CEqkLtH nCgZ6/Um7+wVRZZ8DJcJaqyG7WMSyUkYqJekvswfC/p4Nnmy/RoHuLcTIKPEiCwrJONt 2i53XZjfQND1gJLxyc0gHZ6vg6Wk5Cq1HykLJzLz4bRO+WpDtPxlxL74xNs8nSxdZWv+ x3QS4cefmujEW/XmHabAmy79aWC/NYFtZP8adgDqVOzqAjH/7vLXbl0GlcJp+Bk/NhBR WssA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rYG0lELIkcRCGP8jsgHL4HQoIjFGIvh4hrSttLYXXSA=; b=0Cr2f0bMN4vbbsxMYKZi1lbWEvSdTGjHCgHnEKHdpnzh4WHwK2+g23at3PWCIfAVjP lSV7HJrPR4XV8VMxDIEkmXrYM0Z56LEIYDPHBHildgHTEEAA0JNt+nBTYXc+b6MZvlS8 Ng6RBYbcW2qdaIHVW8dtBfIjDpNDyfXsHmRdnbiCg/IDABfSgnja3MZZiw2USVCtUd7J ntGHbOssM+ZIp1DGVsAo9Luxlf7zwapt5uhoScayqLRSBtdip1TA5dAI8L5a+EHEGZg5 jea+iQgRkg0zRD5jqnOsU+ki7WuK31IYTf6xIWWiyteDABi6CVGG1hlyajO2b68qUYWQ PtcQ== X-Gm-Message-State: ANoB5plqsnsPwROK+O3VnuHvwMZkXn/PY1P1IOH/cy3fYZrSUmAcCW23 lPcZ0c3izC+Ygqncoq7nC10= X-Google-Smtp-Source: AA0mqf5pyQhsB6glqLw+Apubat3cd2yf2DirKVwq0lH6RY66Bdje8ktKyuC6RmSzQ35RxxP+TFqu0Q== X-Received: by 2002:a05:600c:4fd0:b0:3cf:5bd9:68a1 with SMTP id o16-20020a05600c4fd000b003cf5bd968a1mr4325795wmq.113.1668266386084; Sat, 12 Nov 2022 07:19:46 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id bx32-20020a5d5b20000000b0023bb7e4b8b1sm4658536wrb.82.2022.11.12.07.19.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:45 -0800 (PST) From: Aidan MacDonald To: lee@kernel.org Cc: mani@kernel.org, cristian.ciocaltea@gmail.com, wens@csie.org, tharvey@gateworks.com, cw00.choi@samsung.com, krzysztof.kozlowski@linaro.org, brgl@bgdev.pl, mazziesaccount@gmail.com, orsonzhai@gmail.com, baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com, jernej.skrabec@gmail.com, samuel@sholland.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH 10/18] mfd: rohm-bd71828: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:27 +0000 Message-Id: <20221112151835.39059-11-aidanmacdonald.0x0@gmail.com> In-Reply-To: <20221112151835.39059-1-aidanmacdonald.0x0@gmail.com> References: <20221112151835.39059-1-aidanmacdonald.0x0@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Matti Vaittinen --- drivers/mfd/rohm-bd71828.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/rohm-bd71828.c b/drivers/mfd/rohm-bd71828.c index 714d9fcbf07b..3c5c6c393650 100644 --- a/drivers/mfd/rohm-bd71828.c +++ b/drivers/mfd/rohm-bd71828.c @@ -413,9 +413,8 @@ static struct regmap_irq_chip bd71828_irq_chip =3D { .irqs =3D &bd71828_irqs[0], .num_irqs =3D ARRAY_SIZE(bd71828_irqs), .status_base =3D BD71828_REG_INT_BUCK, - .mask_base =3D BD71828_REG_INT_MASK_BUCK, + .unmask_base =3D BD71828_REG_INT_MASK_BUCK, .ack_base =3D BD71828_REG_INT_BUCK, - .mask_invert =3D true, .init_ack_masked =3D true, .num_regs =3D 12, .num_main_regs =3D 1, @@ -430,9 +429,8 @@ static struct regmap_irq_chip bd71815_irq_chip =3D { .irqs =3D &bd71815_irqs[0], .num_irqs =3D ARRAY_SIZE(bd71815_irqs), .status_base =3D BD71815_REG_INT_STAT_01, - .mask_base =3D BD71815_REG_INT_EN_01, + .unmask_base =3D BD71815_REG_INT_EN_01, .ack_base =3D BD71815_REG_INT_STAT_01, - .mask_invert =3D true, .init_ack_masked =3D true, .num_regs =3D 12, .num_main_regs =3D 1, --=20 2.38.1