Message ID | 20190423090235.17244-4-jbrunet@baylibre.com |
---|---|
State | Accepted |
Commit | eb4d811277465784e2d25d74c19183295d4499ab |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3541388jan; Tue, 23 Apr 2019 02:03:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6/b6z65sw+5pxfTJsmv+U9GO3p6T8jzZW4mygPhm9DlZVtwa9qE5kJQ/tq8VE5QDsfvrC X-Received: by 2002:a63:84c7:: with SMTP id k190mr23485012pgd.255.1556010202067; Tue, 23 Apr 2019 02:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556010202; cv=none; d=google.com; s=arc-20160816; b=kEhqZgdi4bXTVvCbOVwtFWP8U6r86A3nqCYMNlrOa0cGZPxrF8h32I5xuQWtij899M ymwY/xhTkylULm16dJHZtvEWafZuPVbV1OJQcyxtIuTaCCo/8BE3+oMDNfh2qHWr8Y2p 42fEPWmiAavjBlgDajLss2CvJmgqC6Pl33SvSNyisuYxVeudDtMociU1xLBmjBl/Oj7T IPxMT+bSlG8XUCueykcKmXuuWDxC6q2njaHcvLHtt/CX3mBrCY2RaNsNEGfsMefEVQIn Tw2jCzA+HW285DQ53S6fVLTr/znTJRxF347NWkRXbRXktlyx/9eTMXPr8u5pIjSw0f/4 r9Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=A9mkQOCOyKUJCXFL3UmoX1uExjUUiwIU7JlFlpoGkgA=; b=hGtKxnGIq4Vowv+qTVNKj5I3OXTgrFJj/QtPfeTwkXpnVeADG0r4K2lPzgzfeNpgde lQVlzstVDZ9N0e9FZNVgvQ2ix6YXQ8LZ4JpA/orKegXQuyaVVxafZdNR2uLRz2+JsM+N ObiZXzAqgVRpqkdmLR0ywt/tST8x6CoikC7gR7ggGO+g04EvQbYoZQGtcbvQv4QSC30x EBZj7gYSqxpIeO21tXcBXhsnSW5UhQXfXCgcpyKk+A6yiNRgS6M6JxVGrID58fdn555U uPjV/k1/G8aPG9Z2QXEtnnANMiHdSBBnL183HUicD8N4SYstknaLKpuuXbCyVPHgJjnC cJog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=qypmTfDB; 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si2022200pgl.571.2019.04.23.02.03.21; Tue, 23 Apr 2019 02:03:22 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=qypmTfDB; 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 S1727053AbfDWJCv (ORCPT <rfc822;mike.holmes@linaro.org> + 30 others); Tue, 23 Apr 2019 05:02:51 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:39453 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726650AbfDWJCt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 23 Apr 2019 05:02:49 -0400 Received: by mail-wm1-f66.google.com with SMTP id n25so17767391wmk.4 for <linux-kernel@vger.kernel.org>; Tue, 23 Apr 2019 02:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=A9mkQOCOyKUJCXFL3UmoX1uExjUUiwIU7JlFlpoGkgA=; b=qypmTfDBnIggohr4oTcl1DKf+xQhzrv43qq64kdnrsD5FiChu544D2Z/Q6kDPHyMyE YFr/zzUgt/cRfM02ECYDfFz8ANOaKMQZfoVXdk9Szf/L6Cx0N9zY2TEjP59uvaeYm7Xe A2CteyW3kkGwfrZsA4lxmp7pNmDnZa0Dxc6ynlfMeN+WQnIU9RTYJf2jmZwkBvh4Q5On KFGW76zK0Hd1RFqBtWmy3Cnbt4+pcMfuveWDl9PPOIPhjtMTOb47nFGhA9qIhfKCfhuM B65nCNoiNI2pZpuw+HMJzBH/Wf66saIli5qI8RnEFtEJ6/oYDs9hQEJom43JcDBIWrV3 EKig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=A9mkQOCOyKUJCXFL3UmoX1uExjUUiwIU7JlFlpoGkgA=; b=nU6HlsYbxPfTjnJkg3ueG3UBV4tvTRQyguP6uOsjRyNpUaQlPMh7Ukry9UEP06Ins5 r3y6vmPF86+6ih1RM6NoSrqSqQ6VF+y4qa1ujQTQMhQXtCPckfDo/z1UUUw97mWSRo/N GNBaI6xRf8E/ewYsZe+TyoTwYDZ5gWHKqOKsksjqeFeJdqiTWvCqdo+Pi+yHbBSRaSr1 2ZcTUnq2v6qcbKmI6U/BWyATQeYwBI4wR66q61QYByfyzM48+wZ3WSJ6LqiqJ3fHUQAj 9zfV7pR5WvPgcijhBOCghU5ty2abi5RmkpCk1BSALAEIHTuTZpCVsy6o6hrymmp3wcfJ oahg== X-Gm-Message-State: APjAAAXQ7Jp5Yft5wddyNfR1KbHVubzHYgodvn8R1fjDgY6nIt0+G5YF wDvV3Kw568XdL3DJq+xxOpkyTA== X-Received: by 2002:a1c:ed12:: with SMTP id l18mr1517688wmh.13.1556010168140; Tue, 23 Apr 2019 02:02:48 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id z23sm12361894wma.0.2019.04.23.02.02.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Apr 2019 02:02:47 -0700 (PDT) From: Jerome Brunet <jbrunet@baylibre.com> To: Ulf Hansson <ulf.hansson@linaro.org>, Kevin Hilman <khilman@baylibre.com> Cc: Jerome Brunet <jbrunet@baylibre.com>, linux-mmc@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/7] mmc: meson-gx: correct irq flag Date: Tue, 23 Apr 2019 11:02:31 +0200 Message-Id: <20190423090235.17244-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190423090235.17244-1-jbrunet@baylibre.com> References: <20190423090235.17244-1-jbrunet@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series | [v2,1/7] mmc: meson-gx: remove open coded read with timeout | expand |
diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index 8b690ecde4c5..3df50b53f834 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -1328,7 +1328,7 @@ static int meson_mmc_probe(struct platform_device *pdev) host->regs + SD_EMMC_IRQ_EN); ret = request_threaded_irq(host->irq, meson_mmc_irq, - meson_mmc_irq_thread, IRQF_SHARED, + meson_mmc_irq_thread, IRQF_ONESHOT, dev_name(&pdev->dev), host); if (ret) goto err_init_clk;
There is no reason for another device to request the MMC irq. It should only be used the MMC device, so remove IRQ_SHARED and replace by IRQ_ONESHOT as we don't the irq to fire again until the irq thread is done Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> --- drivers/mmc/host/meson-gx-mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1