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: 9572707 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 71414601E7 for ; Tue, 14 Feb 2017 20:08:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F3DB26E4D for ; Tue, 14 Feb 2017 20:08:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64382271BC; Tue, 14 Feb 2017 20:08:04 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12DA928415 for ; Tue, 14 Feb 2017 20:08:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754607AbdBNUHo (ORCPT ); Tue, 14 Feb 2017 15:07:44 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33230 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754589AbdBNUHm (ORCPT ); Tue, 14 Feb 2017 15:07:42 -0500 Received: by mail-wm0-f68.google.com with SMTP id v77so5209718wmv.0 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=Kp+GJw7RYKCknzXx7jUiQ/0lxkwPHi/dJfdspMEGRFPUaBk5ycUrtmp0ime00Urty3 nOkKxjZIvbqBbF0c4P5psOWzR60I3H8pPqtu137jbE955E83sVryOUGwZnrbLuvNRmz+ 9fa5FnVCOIj/XOTNAeSSjAw1wFtnZa1HKiR5n1rlRYixg4wfYbyYRwlbrID3YGnPF7Rs b8scud7KyFiIIQuuteN8ToZonsJyFx7Ho4jxAAP6HTrKYEstiZhKOfqTUXXeB8DjLeMs U+17rW2B0oKBQ49Oa5pIQQWfsZAdBjh45mw07sPuUJi6ioZwGFk98y0/v8Z8YCvCweTh y0Cg== X-Gm-Message-State: AMke39lXeUJg89qwjde+G+CMsYKUIynIx3svnPSk+zFfNJNuPS+4wXxWn5laZAu366XoTw== 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> Cc: Carlo Caione , "linux-mmc@vger.kernel.org" , linux-amlogic@lists.infradead.org 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> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.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;