From patchwork Fri Mar 24 22:08:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 9644095 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 DEEEA602C9 for ; Fri, 24 Mar 2017 22:16:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D0A77206AC for ; Fri, 24 Mar 2017 22:16:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C55D92522B; Fri, 24 Mar 2017 22:16:30 +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 8F320206AC for ; Fri, 24 Mar 2017 22:16:30 +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:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2gN/jGqrWIkiKKb66s95NvyzgL3FtvVDZJ5Hts9nfTg=; b=ITJGB5fV4evVia 4vFWkFUjVXCKjq38X/SF/hsVwCiyU8qdr6uQRbEN/qqmEdbe6ge4WgTvrNacQlBvuKfI5oycWsOY0 qWHgRvwVN1lVQM/GjpNioV63KKoE8qZY2FW3CEhKtjPb8CAj81GwZVywpmw2GTquXu/ddKcBJEji+ IDnQfZl61fewCb+Q+l02NLzbksm87Kbyvgh9GnLl+Ng72bhXrh77ru1Y8vxY5opCrncD0GjBsLLZw xQq10iDnAg4WdQh4RR82DhPLjv+BQoLvLopKIcbP7PvpK2MksWxO9yT/jvJ6/wFFzjtFW/9Gh7Q8A XuvUSo7iHABO2BDct0Ng==; 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 1crXVQ-0007i3-Mm; Fri, 24 Mar 2017 22:16:24 +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 1crXVL-0007d4-B2 for linux-amlogic@lists.infradead.org; Fri, 24 Mar 2017 22:16:22 +0000 Received: by mail-wm0-x244.google.com with SMTP id u132so620155wmg.1 for ; Fri, 24 Mar 2017 15:15:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=vBf3AMw1TXTDEBQUIr+05fszYWKnYhJ1aX5kEqD+cDY=; b=C0Ii/23ajhvyKiBaZ0cGRlqjsQuvi5ljtSylwaM3fwnTq6MxIU7ae18OC0SCY/Orgi vNxUUuP5b08uLXcWSvWK9CM61QV+TdVjqyGCE7Y29l2bbF+xK/OJslcSj1+uyV6CFoxq bntpos3X43e4D5aEfuEfPKzvXMXLv/mgRo2xYZxUTZ8Vl/7LxZ14tO/ms2P9Wc6mK6pr 2+g28DFgPrkSOjyotK12VplXIskGaUePj9I+T9VcCmVUTQXMxjQdEPqS/a1iqpx+hIDb 9BQd00WOPVdNxjoc4E6iPwDMbgMRO5LA0GaUfdHqscINGAyAQhc+R7IvddxST+c3KFr2 XE0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=vBf3AMw1TXTDEBQUIr+05fszYWKnYhJ1aX5kEqD+cDY=; b=eaCxx+VjifW0qTUlDhFezhUKE+T9o4/TaFWPWXGDK2pkvT3pOCpxslDFs1UOoOTgyE atI7g031ohEBsH+SQ9bbHdTudaRcjwN4qSHNjeRcOyRhDAvmTfrrWksC6U91gmMoEQnF KCGXkKAKFAjFSgCUFDgx5VQBeFWyBP12Bv8pBBgKbriGe89SrRgaVmOkiuUjptM9KAVi rOHHP6JDX67dyoxKBYk746WaQ6JW0jxHR1kDObUmXJHx0C8FOu/QM1CAmcbDp5EkjeeE JTEGTo0XVLBALw8Io4MfFSS0dtO6geZ84nqxUgQMDHfzj/JE0Lsw+L6IxfwMU+oxH5r4 EdPA== X-Gm-Message-State: AFeK/H3ji0bb2x3N7ZmV86lV93V5+s7OhSAoIOEZdsyQ1OSGZs88c1HQ4QcGnvM/CdnynQ== X-Received: by 10.28.196.68 with SMTP id u65mr5343776wmf.8.1490393757625; Fri, 24 Mar 2017 15:15:57 -0700 (PDT) Received: from ?IPv6:2003:c6:ebdc:4000:f190:68e:63eb:6801? (p200300C6EBDC4000F190068E63EB6801.dip0.t-ipconnect.de. [2003:c6:ebdc:4000:f190:68e:63eb:6801]) by smtp.googlemail.com with ESMTPSA id 24sm4462429wrw.46.2017.03.24.15.15.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Mar 2017 15:15:57 -0700 (PDT) Subject: [PATCH 2/4] mmc: meson-gx: use per port interrupt names To: Ulf Hansson , Kevin Hilman References: From: Heiner Kallweit Message-ID: Date: Fri, 24 Mar 2017 23:08:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170324_151619_558654_8DC27828 X-CRM114-Status: UNSURE ( 7.61 ) 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: 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 as interrupt description, therefore in /proc/interrupts it's not possible to tell which interrupt belongs to which port. Change this by switching to NULL what causes the default (device name) to be used. In our case that's the DT node name. Signed-off-by: Heiner Kallweit Reviewed-by: Kevin Hilman --- drivers/mmc/host/meson-gx-mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index cf2ccc67..b0a9317b 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -740,7 +740,7 @@ static int meson_mmc_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(&pdev->dev, irq, meson_mmc_irq, meson_mmc_irq_thread, IRQF_SHARED, - DRIVER_NAME, host); + NULL, host); if (ret) goto err_div_clk;