Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2357243img; Sun, 24 Mar 2019 06:40:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYJUhQoY6qmjHzkT9s2cBPte+PECjJHKFSbUyI/PGQ1ghG+R/RQt2Gv6KSmmU//zqEymPZ X-Received: by 2002:a65:65c5:: with SMTP id y5mr18764869pgv.192.1553434851163; Sun, 24 Mar 2019 06:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553434851; cv=none; d=google.com; s=arc-20160816; b=1JhlNCYYkR8ZEFC3w+ChKpk0zPYV5ggPuhWYnyBx7aG6jsX2qB9zux8J+7vNx54RVy uGz7M3F8iO+NXVcr/q7dfgkdrqHdv2MWK7hbZrVnRmPODvJHe5oP8wLPHN9gfBhQKoTq Csk4QiZ5jZM6bvvxRUhEXvluqDfDDaXohGPxrrbSpSvwkZwL2BfXXEPX7J9H0vTRs9Wr k87bd1OydDlAtG6TDk8pdqVPhjtw5AoFT/ZPrGpfB3vgfo2B3g+jxC/cnxL9ANXh3G3x oNQjMF6IMcb8DuYk77TxrKbyqIHAmFSGo9HIG+vL/SOQ+++XcwCHBjfv6QEQFJziI/6h Bz9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZK6TS/6kxBi1OkurTIhHBPzxg/WAeAL/i7LcEXDRNr4=; b=sdP1RBpqG/csn1DX2v/H41JaCibBpgK1OEsyXELHh1HbjcEmOjqKyUAc6ZOKsI/bgh t5FL1RXE+13QX+eUAd/HJ/j5gR3yEm9NX1iEtSqMeCVOMirHf8tOJPcXeu2DsuKy4+KK n14L4/iOwfMVVNktfnb7K9qo+2SQrPhUS7UjvrVo34xbv3uaSvqxhWKwA47Bmo7bJH26 hqo7DGK2+K6zChrT+HT2W5m5qFGe9KVjQ92QuZ9mLtnm7IaBNf6AFryeSY72OcTeUFf2 zmwPS62wYr5efeQkAU5+mhzSJWvQjgosSJUKg7M5+/0v6z7uIapb1gXQf6UF8TOcaDgu jPng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r63si3119187pfc.183.2019.03.24.06.40.36; Sun, 24 Mar 2019 06:40:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728730AbfCXNji (ORCPT + 99 others); Sun, 24 Mar 2019 09:39:38 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:42595 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726970AbfCXNji (ORCPT ); Sun, 24 Mar 2019 09:39:38 -0400 Received: from localhost (lfbn-lyo-1-149-219.w86-202.abo.wanadoo.fr [86.202.231.219]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 95527100004; Sun, 24 Mar 2019 13:39:34 +0000 (UTC) Date: Sun, 24 Mar 2019 14:39:34 +0100 From: Alexandre Belloni To: Pi-Hsun Shih Cc: Eddie Huang , Sean Wang , Alessandro Zummo , Matthias Brugger , "moderated list:ARM/Mediatek RTC DRIVER" , "moderated list:ARM/Mediatek RTC DRIVER" , "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" , open list Subject: Re: [PATCH] mfd: mt6397: Don't call irq_dispose_mapping. Message-ID: <20190324133934.GH30105@piout.net> References: <20190311075540.26117-1-pihsun@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190311075540.26117-1-pihsun@chromium.org> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/03/2019 15:55:40+0800, Pi-Hsun Shih wrote: > The IRQ mapping was changed to not being created in the rtc-mt6397 > driver, so the irq_dispose_mapping is no longer needed. > Also the dev_id passed to free_irq should be the same as the last > argument passed to request_threaded_irq. > This prevents a "Trying to free already-free IRQ 274" warning when > unbinding the driver. > > Fixes: e695d3a0b3b3 ("mfd: mt6397: Create irq mappings in mfd core driver") > Signed-off-by: Pi-Hsun Shih > > --- > drivers/rtc/rtc-mt6397.c | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com