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 67EA2C433FE for ; Sat, 12 Nov 2022 15:35:37 +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=1hefiAYK+9iUkaruIPRKJFXnG0WXLnfOakoCWMROvD0=; b=ZPcPX2now1H/+9 x0LNG5wXAT6x3Z7F8s1U1M/HLd7FijyL7wfNk9WOeZho6MeiwWvKikTgPhuYUEQvxMZ31a92llsKI Qpd2MHq5VoSc94FTqnsG8W7VQuLn/5TAM7YDp8GcgiHGNIDZsx9gs8RXFb8MSqiHs+lkZTAANtZWV mtLB1PRuXLili8OHL0fbkCpadUe8MBA6atv5OrE369oFOw/o0hVP+cG2HsGYi/Bnqw9nd/e7iwRWR BWY5OztQSOeJER5n3GksI5RnXXtVh4hhe2u7zcgLUUFRofJlvmrv969kD2FxLJFD2YEEY2fxMMT20 JNduAw36v9ljAjJSifQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otsWQ-006QS5-As; Sat, 12 Nov 2022 15:34:19 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otsIS-006KUL-TP; Sat, 12 Nov 2022 15:19:54 +0000 Received: by mail-wm1-x329.google.com with SMTP id l39-20020a05600c1d2700b003cf93c8156dso4867385wms.4; Sat, 12 Nov 2022 07:19:51 -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=ap2jtLcVXjGUxCK1ExvNFdVQ5+yTHfCLRbLs7VE5qzs=; b=Wa8gR8dxTsB9aBeo9EOvBSB5wnOpwbFnbNSss0twylMwCRJaAwPuJ1R3wlev5GGayg uEscH1BofmP9pBKc8TpaqOpzhH9s6WaboIaDyo39go3TA/YxQX3QYOIhfi9Eelbiczjk aY0n1WJsAClc815GTEMdEwcXcqvx/jvK1qIvugA3z4G5qMFm62qnRFfivfxeyPiPr7uq iwSkSCVMZ2Ur7eOUgAwEA7XJFp8OnIKSnhbryoOwwUjXhFQIU8ZvOVY6BR8zQ0Xgs0mH aDQzSImPREnYZrdAl//hKp+fDv80EIxl+PpC/+BY/BgKB2YzqMLhaVhlfIAmMCtqLqXL gXpw== 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=ap2jtLcVXjGUxCK1ExvNFdVQ5+yTHfCLRbLs7VE5qzs=; b=VVPD6xV4y/LSSqN+rdqtm4YGUr5UBfojfdxAsCDuvYpViL0CGGUH8Qmwx7x1Ags/Lg oN401ZXpCOa1QdfNC/2KoFnHf4QxMnJgmr+QfupuCcXldrPPvGdSNO2px/cKreUnJkst ktFQPoWRwoY7kcAuq+SPO2m8FoUVFOsbz13j1dG9ApnNRm+fQ3Lty4Pwmy+f+8cZYJLk fuydQentHKRhESWnAMMJLFGp5pbEnCvQSNJWZPWHdZw3CieV7WyMgb1aot0ttWojAO4L Zju0jzDM2q6U9UO+QgAQ0M7GoivvuvK++enMUoSsH/59YKehny6og1VQEYAjOCWmo4u/ qo+Q== X-Gm-Message-State: ANoB5plgrkDU4CV+7/TMSTXXaL5lTceyWx5IUogiz9N45HjqVJtWxzWJ mb+bVTCcskQtl0gSi9EZoec= X-Google-Smtp-Source: AA0mqf5bOBbPUFnCu5eXhAwvqF7hO0snkQhVP3/uHN9qaP+T9rxZMK0RDxSiWVqGV2ASkQvUOSNcgQ== X-Received: by 2002:a05:600c:44ca:b0:3cf:89c5:c241 with SMTP id f10-20020a05600c44ca00b003cf89c5c241mr3954405wmo.204.1668266390188; Sat, 12 Nov 2022 07:19:50 -0800 (PST) Received: from localhost (94.197.38.186.threembb.co.uk. [94.197.38.186]) by smtp.gmail.com with ESMTPSA id n10-20020adff08a000000b002368f6b56desm5460994wro.18.2022.11.12.07.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Nov 2022 07:19:49 -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 14/18] mfd: sprd-sc27xx-spi: Replace irqchip mask_invert with unmask_base Date: Sat, 12 Nov 2022 15:18:31 +0000 Message-Id: <20221112151835.39059-15-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_071953_003061_6A9EE51B X-CRM114-Status: UNSURE ( 8.96 ) 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/sprd-sc27xx-spi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c index d05a47c5187f..a4a9b81a952b 100644 --- a/drivers/mfd/sprd-sc27xx-spi.c +++ b/drivers/mfd/sprd-sc27xx-spi.c @@ -181,11 +181,10 @@ static int sprd_pmic_probe(struct spi_device *spi) ddata->irq_chip.name = dev_name(&spi->dev); ddata->irq_chip.status_base = pdata->irq_base + SPRD_PMIC_INT_MASK_STATUS; - ddata->irq_chip.mask_base = pdata->irq_base + SPRD_PMIC_INT_EN; + ddata->irq_chip.unmask_base = pdata->irq_base + SPRD_PMIC_INT_EN; ddata->irq_chip.ack_base = 0; ddata->irq_chip.num_regs = 1; ddata->irq_chip.num_irqs = pdata->num_irqs; - ddata->irq_chip.mask_invert = true; ddata->irqs = devm_kcalloc(&spi->dev, pdata->num_irqs, sizeof(struct regmap_irq), -- 2.38.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel