From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECC18C4332F for ; Sat, 12 Nov 2022 15:39:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=atIFWHEQMtUiFq5MKwyUoH8lICieBiU2Ey0kdgf5DWg=; b=c/9K6ZmaIjw/Cb OsBVvsKpwCIN3fmnEacPr2tXEOqqAEjd+NAMpoQA89H+MXvgkIsyLpkCR8hCDPvbSDYZrl4FCMOok sYN4P9hIgzig3BLBIyQahZxiXdPR7nnu1/4qZ2vFggswroYStyEje0W7pvDgaRT/JWC8CuFNqDJJf 2nJID+x/jB0a+G2BEc5bCinKPA8q8sANGRpMtIcvLHs0M8MDsjAsDFGF4tk6xo4wJi6fo66b6vmX5 FA0qDwORkz3djXny3wdYlKJiKolOkDSYFpbahd0CAzpTLQtHTIvf4TyMZHM1tXz9bIe+S+0SX/eX9 NWiiGzR91adu+qGI1Rxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otsaF-006Rmg-AK; Sat, 12 Nov 2022 15:38:17 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otsIZ-006Kbx-Vg; Sat, 12 Nov 2022 15:19:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=9vv/3HAucSDWmO8xwnh5HST4ssDGqCVQOTNcS90+6lU=; b=bZYbbuDVbTWMO4i7najgM9CFWV UBQMBF89pgY60mipXys5peH8FsUonDGy7th+04q+Gas3c24KY6DlUXH8z8RKPhwuZPNs/VDPDGq8g 8pg+Jhf9umR2VUTfqCoUlyDDH6a098stA7YVr6+iP0X0862TI/vJFXwo9RL7fexkDSziPtaH2+9DW bnINsaern15UTbN0+FSrvMZUM0Yp27lbV10lpilmtmnReFLfd6Gca+af/H2tyalTuKbxH+VCmMWGV pUo+y71csOiHyanzbS/EwcsmXEvaDZhgziVU4SMX5UD8vW60RkCFH+/i0AVMeBT/z6mXGhRkmsqEs l7YgShsA==; Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otsIU-000JiG-Cc; Sat, 12 Nov 2022 15:19:57 +0000 Received: by mail-wr1-x42f.google.com with SMTP id l14so10067646wrw.2; Sat, 12 Nov 2022 07:19:53 -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=9vv/3HAucSDWmO8xwnh5HST4ssDGqCVQOTNcS90+6lU=; b=jpc9tN4KxBsfE2iBF/Kx5UM/PYB3RbWC0UUz8Pk77cr5NPWSGRNhLeCxpFdjsx6q0O o6n/eE8O5Whvr3WT+nUgB11/duZcUld4r/ERwLQLRKqmjHhEMP/znOH3x9ZRZ+3Sadyd DC09KWR7sCa7JNG+1duiRePnGOp4KbHUUVn4J+ttGNAODo2Cx3fOjbUSRBTBOGLu2Ym8 6CWoYnn2kIsKd8U3/Yc60PH/zfe8I37piGYwWMbdm4FHS8y3D1z4gTKp9XShRQ211dEV QdEhxpfjBzjvu01ECYnHIZutt3SX38/KsAtylLD7FF2JiSlOOE1JEWLkiyMP1Z7JA/tC pL3w== 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=9vv/3HAucSDWmO8xwnh5HST4ssDGqCVQOTNcS90+6lU=; b=rthES3pkXgLHEWK7YV4h+r8A8aszRd4PmXLSZ5qE4rSpNOMsRzaOamU1TyrooC3ncl bRgljP/U1+L76gJ1CjSW1Mcksmw70MJKXvE80HocI3VxL3hJxdyss8n8Ma9qr3RxJpO5 bN+zIaDi3P6RptW37t+aKqNHbT2JgV8aTRFGAoLC8klmFcAbSp2diwcoC6bPkMg0KcFF NpkVU9el9bs2TbKIyhgOPkkXYFXPipYK1uAPwyT3+JXBgWsjhEAVdTbmg80CxgegzXwL s7SDAn9Q8a1AFlYFmBjNSCt0PAVFoDf4JRXV1UnPybfazdnd72iaqADPHzZHm74Cm2u4 yRfQ== X-Gm-Message-State: ANoB5pkO2jme5RcLVdAHkaCrAtxbl6/uysyjtTrc3oXNmWN1iO9+8q7Z iLOWhpUO2rDQ7kl6TwtydNs= X-Google-Smtp-Source: AA0mqf7yAFmkuF+GLTArtuzehjKb8KYcTqN5tQ+tXMTr65DKOBI2+7yP5rAXKMF4CkvvCod+EvEh5Q== X-Received: by 2002:a05:6000:511:b0:236:64ce:2c0a with SMTP id a17-20020a056000051100b0023664ce2c0amr3671606wrf.230.1668266392072; Sat, 12 Nov 2022 07:19:52 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id h5-20020a1ccc05000000b003cf7292c553sm6509053wmb.13.2022.11.12.07.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:51 -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 16/18] mfd: sun4i-gpadc: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:33 +0000 Message-Id: <20221112151835.39059-17-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221112_151955_003353_F4450678 X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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/mfd/sun4i-gpadc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/sun4i-gpadc.c b/drivers/mfd/sun4i-gpadc.c index cfe14d9bf6dc..edc180d83a4b 100644 --- a/drivers/mfd/sun4i-gpadc.c +++ b/drivers/mfd/sun4i-gpadc.c @@ -34,9 +34,8 @@ static const struct regmap_irq_chip sun4i_gpadc_regmap_irq_chip = { .name = "sun4i_gpadc_irq_chip", .status_base = SUN4I_GPADC_INT_FIFOS, .ack_base = SUN4I_GPADC_INT_FIFOS, - .mask_base = SUN4I_GPADC_INT_FIFOC, + .unmask_base = SUN4I_GPADC_INT_FIFOC, .init_ack_masked = true, - .mask_invert = true, .irqs = sun4i_gpadc_regmap_irq, .num_irqs = ARRAY_SIZE(sun4i_gpadc_regmap_irq), .num_regs = 1, -- 2.38.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel