From patchwork Tue Feb 14 20:06:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 9572739 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1AAFC601E7 for ; Tue, 14 Feb 2017 20:08:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18DAF26E4D for ; Tue, 14 Feb 2017 20:08:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DB0D2840E; Tue, 14 Feb 2017 20:08:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C9A2826E4D for ; Tue, 14 Feb 2017 20:08:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:Subject:From:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9SsO5qiJp+A/mBEeQhNedHFO/at5GXQLtxFMGLAX4t4=; b=rq3ksBJLo+3aBR rkh7ByKXGJdS6M3VO4LxFaSxMve3rRk+pSw4yBu771HTWH8brnR+9Tv5TyiBypVdd672H+CEjweW0 dWJaPGpenXUwiJPWSr5X/rx/RgawdbkhJjr90+7d+T9tjpdOpufC1f/xXXINfULPsOCIAdpanlDOS eMgJiB7NBxJZ+ApGpuhwvjmrz5PcOVW2TnyIsOoWwhnGmQY8UEUFX8lFNlMKEflb5+IEbbJQNpdte ksSeC+w93CumJfu82eCnVPzoQLCgHmEljttE5ef7tA9BDvgNRf/mW9cOMHPhNjtniojVg7SsSbsPq i18JqtqSbAm2OF0nbP9g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cdjOY-00028h-H8; Tue, 14 Feb 2017 20:08:14 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdjOJ-0001lN-AJ for linux-amlogic@lists.infradead.org; Tue, 14 Feb 2017 20:08:03 +0000 Received: by mail-wm0-x244.google.com with SMTP id u63so5219686wmu.2 for ; Tue, 14 Feb 2017 12:07:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=gSbAm1mDNz/QGIv+ZgObgaKw17RJ7kFkUxuoqDCuX8k=; b=hZUKjA4/Mli5/6sFO3TV66E5x7MiA5W68yPDPXWJY/YYnVBm/WDlLCbVhoCsYV7qkv G5MlnA7fAc0teIlvgAjCxQOsj+egpGOiAzgUmJB0n4TokB1q9qhjlbitAImIM/bD5Tpx Qp/Ayy/XPOM7TI47pjUmFrQH5C9mDYM29m8fzkQXn34F7DrRfhuYZaK0E70ijHQAU2OG XHW62dB0WuD1iNE/Ihdl5t8ArWZKJzXcY0Xvnxtg3NVQOY1ffSoW7dsMSUKT4RgEaieR s+qxj0XJT+7Xlk6MjdDRHg2aJ/V6gNDD0nmtyqeZyfhcQTgmEHe/cAeE6+Lfu1sweW4m pkxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=gSbAm1mDNz/QGIv+ZgObgaKw17RJ7kFkUxuoqDCuX8k=; b=Cv7AuXc6yFr14UXgiufcEBIizrJHtsXbrdGnlOiBkO7jhbNlp4jW8Ww8A55eHZgG7f WyRLg0juoAFcUwiA+ACNGANQRfSeKb1FEwuPbeltVLCNF6oRNlea4MsdRUEEqM9zSNjJ EST8rOt2q0r81V+jcUqbwsAW2VrDKHjJIPj7ls4prCjjBf/OY3HgIv5fXBfwplNYwrKA FIfcTsp3rMXo02ATU0xUz3uIX+GsrNBTR7ijs4/na0KoHlUfp4fqkXqkauIIxYacr69S zIkn9uWp15O4vNLqCCXDQ3KD2gG/Xxo1vo1ol8lJuvqrvgCYRQ0OheDcv/UTvdkSH6j8 c+dQ== X-Gm-Message-State: AMke39kSRTQlOy1Uo6JlcR2ahVPVpRxr6T+AE8TK1nYkTvcB/uEhaz9KjW+eRMjWIR/Wtw== X-Received: by 10.28.22.146 with SMTP id 140mr4865172wmw.22.1487102861535; Tue, 14 Feb 2017 12:07:41 -0800 (PST) Received: from ?IPv6:2003:c6:ebdc:4000:9533:a20:55f1:fb4b? (p200300C6EBDC400095330A2055F1FB4B.dip0.t-ipconnect.de. [2003:c6:ebdc:4000:9533:a20:55f1:fb4b]) by smtp.googlemail.com with ESMTPSA id 133sm2530032wmj.27.2017.02.14.12.07.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Feb 2017 12:07:41 -0800 (PST) From: Heiner Kallweit Subject: [PATCH 09/18] mmc: meson-gx: change interrupt name To: Ulf Hansson , Kevin Hilman References: <420b75a9-b8c2-b3d7-ae60-3ed8a5a18ead@gmail.com> Message-ID: Date: Tue, 14 Feb 2017 21:06:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <420b75a9-b8c2-b3d7-ae60-3ed8a5a18ead@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170214_120759_779265_9998D014 X-CRM114-Status: UNSURE ( 6.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione , linux-amlogic@lists.infradead.org, "linux-mmc@vger.kernel.org" Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP So far the driver name is used for the interrupt. Therefore in /proc/interrupts we can't tell which interrupt belongs to which SD_EMMC port. So let's use the device name instead (what is the OF node name). Signed-off-by: Heiner Kallweit Acked-by: Kevin Hilman --- drivers/mmc/host/meson-gx-mmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index a67c811e..1a76c925 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -757,9 +757,9 @@ static int meson_mmc_probe(struct platform_device *pdev) writel(IRQ_EN_MASK, host->regs + SD_EMMC_STATUS); writel(IRQ_EN_MASK, host->regs + SD_EMMC_IRQ_EN); - ret = devm_request_threaded_irq(&pdev->dev, host->irq, - meson_mmc_irq, meson_mmc_irq_thread, - IRQF_SHARED, DRIVER_NAME, host); + ret = devm_request_threaded_irq(&pdev->dev, host->irq, meson_mmc_irq, + meson_mmc_irq_thread, IRQF_SHARED, + dev_name(&pdev->dev), host); if (ret) goto free_host;