From patchwork Sat Nov 26 13:34:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 26232 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4633778wrr; Sat, 26 Nov 2022 05:35:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf6YqAjNs3Mek+Hwp7uS27OqA7gttQxz/SVEx+OOHXUqy6NkHGAi/Kz3cM2oj6Bb++7L9zOc X-Received: by 2002:a63:fa45:0:b0:476:e63a:99b6 with SMTP id g5-20020a63fa45000000b00476e63a99b6mr22779280pgk.60.1669469709420; Sat, 26 Nov 2022 05:35:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669469709; cv=none; d=google.com; s=arc-20160816; b=piPPgJHCKULM0TGAVwen/gLN/+wTV3zj1whranhE6HtMITelr7oJgw5LEks51ou72R 2sLnVNgorYUEdP1/IHKlNvgppM2Nvw9+iSP7y422dCErR5P3fh7gG1xgGI9HqlxziHjw sl5mZljGi07Fm2558eKvDUWjN47PnLXTZHhtH0A9WUOYWAZjaBC953N/RQAW3Q8MNxIn B6+9c0dFYq8A5Ry5/sy5A9D+t/0seiNrGf82ptGAtByv5DTrKJLvdmeOuKnRYkIOxqH4 vsbNgPdlMUc7Y9DnUbkWzBeAjnOrpm+xA2euAJ1OWIaAs6pJV9/T3dZwO4v0yavEa7wL 6SzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=Yw2+g2S+dV4R09fdSwSfX8T30y+JATdBOLxt9/8tVGs=; b=xmMHtpRbXFu2rOl+8IS1YhGXcjCk2cTlnip4HZuV1meqWlQbd7JRniDRxhDjszUFG2 SUwdeR0/HzgsqqQXW+/a8tBfL7vuAARQsbZuAG6ItlYfF31Y7oMmc0WZwxoi5yC4z63X mhhjtVt+AGMBS9+O0uzZVmKLcg/q9Rwt/Ira3R80vcAwb7VRt3IMPF0T5W60opUwywnw 9I3hTt8edagiCFWjBLgF0gsvyROSZ0oq+mUvnlZHOLbAwZGa+I18ftD7+vzQTaT/WGkd uBg/ArYw44+3GQhIBlt8baqbUEvsmu/wDwuLIZ411A296BrgOALhzUMUjv7/N0yuGU05 MqJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=265U3cbX; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=IHEjtgsu; 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=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lp10-20020a17090b4a8a00b001f31f339134si11952185pjb.152.2022.11.26.05.34.56; Sat, 26 Nov 2022 05:35:09 -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=@linutronix.de header.s=2020 header.b=265U3cbX; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=IHEjtgsu; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229575AbiKZNeg (ORCPT + 99 others); Sat, 26 Nov 2022 08:34:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiKZNec (ORCPT ); Sat, 26 Nov 2022 08:34:32 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C83819033 for ; Sat, 26 Nov 2022 05:34:31 -0800 (PST) Date: Sat, 26 Nov 2022 13:34:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669469669; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Yw2+g2S+dV4R09fdSwSfX8T30y+JATdBOLxt9/8tVGs=; b=265U3cbXZjiBTKRmS2rIuO1kV7SKF7iiUz7L9xZZGXugj2VLY/GOG03RQNHYKxmZhbdAUD 5+wqb5TGO6SWpw3HJvJNe0N2QAOhkK0gydITmuh4pGDGZN/JyaxTvnhcAq2NEf6v9X0ing ZSRaEd19U76/piNBldZcAJwZIkqFVwQ7d3Et2kGULILpQzxaQlHNAwNL5q4crVqBjMfUed p3hMVPs+BCbsVdbHwh4kbbgzq2/3Bi6QtP0/0Xm0xneUwHXxPFeoYlQj+9l2Z8Cj7IBL8x mvJySBSCXzXkjuOVuALeJ9YHi81/7ydkpTltRdzB5WxrUi3VIpJOTT1Vk9G3nA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669469669; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Yw2+g2S+dV4R09fdSwSfX8T30y+JATdBOLxt9/8tVGs=; b=IHEjtgsuuuNYxZpQkG1ibGyxm8LPAfzq25xzzbRc6e7r35lauWpGZjyvY1kqdDnAnnrz7/ d5AX4UnEWpXIENCw== From: "irqchip-bot for Aidan MacDonald" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/sl28cpld: Replace irqchip mask_invert with unmask_base Cc: Aidan MacDonald , Michael Walle , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20221112152701.41990-1-aidanmacdonald.0x0@gmail.com> References: <20221112152701.41990-1-aidanmacdonald.0x0@gmail.com> MIME-Version: 1.0 Message-ID: <166946966809.4906.9388873806018936021.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750565870168834846?= X-GMAIL-MSGID: =?utf-8?q?1750565870168834846?= The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: d502c558fd2b190c9125e8da54bef3f302fa9b15 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/d502c558fd2b190c9125e8da54bef3f302fa9b15 Author: Aidan MacDonald AuthorDate: Sat, 12 Nov 2022 15:27:01 Committer: Marc Zyngier CommitterDate: Sat, 26 Nov 2022 13:29:52 irqchip/sl28cpld: Replace irqchip mask_invert with unmask_base 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: Michael Walle Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20221112152701.41990-1-aidanmacdonald.0x0@gmail.com --- drivers/irqchip/irq-sl28cpld.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-sl28cpld.c b/drivers/irqchip/irq-sl28cpld.c index fbb3544..f217224 100644 --- a/drivers/irqchip/irq-sl28cpld.c +++ b/drivers/irqchip/irq-sl28cpld.c @@ -65,8 +65,7 @@ static int sl28cpld_intc_probe(struct platform_device *pdev) irqchip->chip.num_irqs = ARRAY_SIZE(sl28cpld_irqs); irqchip->chip.num_regs = 1; irqchip->chip.status_base = base + INTC_IP; - irqchip->chip.mask_base = base + INTC_IE; - irqchip->chip.mask_invert = true; + irqchip->chip.unmask_base = base + INTC_IE; irqchip->chip.ack_base = base + INTC_IP; return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev),