From patchwork Mon Mar 24 04:23:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuvaraj CD X-Patchwork-Id: 3881221 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 99EDB9F334 for ; Mon, 24 Mar 2014 04:24:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C59CA2026C for ; Mon, 24 Mar 2014 04:24:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 00142201C8 for ; Mon, 24 Mar 2014 04:24:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750829AbaCXEYN (ORCPT ); Mon, 24 Mar 2014 00:24:13 -0400 Received: from mail-pb0-f53.google.com ([209.85.160.53]:42970 "EHLO mail-pb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714AbaCXEYM (ORCPT ); Mon, 24 Mar 2014 00:24:12 -0400 Received: by mail-pb0-f53.google.com with SMTP id rp16so4895955pbb.12 for ; Sun, 23 Mar 2014 21:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=jPsJRMtlOxR4571m8xVNIH/Wxhfn8h7cWFcbvJ6ecc4=; b=NG4wO3ar33qFfFp1Nw/LSHTD8XTFeIe1tJyoFAUjH7Gm3WGGZNFAAPJ565MOWdaQfp yCQZdJzdXy70qqkzrZ69sbZpfL4OppMX4a0Lo1lRjABbQv/RgQ35j99rlkOF6NFdE1qI jr1PTEkptfprSA0xzUAgrN1/bVKvEcz0bQYIeF4ZETZIeQpS0R/isgvcejQwA4+U3hgN cZVM9v0y7uzAdci42wHhRvP4bnT8Um2SMHFVvhVgnavwzgLua8xXQiCTUsaWPCBEYJZ8 j8ehZKnJ2REPXfkffJYqIP6Bgb+y/7Bg5DUY9dAbXfl4NplTluUNcVjXz5hyQMGsdqQs euGQ== X-Received: by 10.66.49.74 with SMTP id s10mr69535052pan.0.1395635052135; Sun, 23 Mar 2014 21:24:12 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id xk3sm30400314pbb.65.2014.03.23.21.24.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Mar 2014 21:24:11 -0700 (PDT) From: Yuvaraj Kumar C D To: grundler@chromium.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jh80.chung@samsung.com, cjb@laptop.org, tgih.jun@samsung.com, linux-mmc@vger.kernel.org, sonnyrao@chromium.org, kgene.kim@samsung.com, joshi@samsung.com Cc: t.figa@samsung.com, Yuvaraj Kumar C D , Doug Anderson Subject: [PATCH V2] mmc: dw_mmc: exynos: Turn SDIO interrupts on Date: Mon, 24 Mar 2014 09:53:57 +0530 Message-Id: <1395635037-24081-1-git-send-email-yuvaraj.cd@samsung.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The mmc part in exynos supports SDIO interrupts and they work fine, so turn the capability on. With this I see download speeds increase about 10x. This V1 of this patch is posted to LKML at https://patchwork.kernel.org/patch/2429661/) by Doug Anderson. Signed-off-by: Doug Anderson Signed-off-by: Yuvaraj Kumar C D --- drivers/mmc/host/dw_mmc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 0c56faa..240949d 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -2417,6 +2417,9 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) if (of_get_property(np, "cd-inverted", NULL)) pdata->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; + if (of_find_property(np, "cap-sdio-irq", NULL)) + pdata->caps |= MMC_CAP_SDIO_IRQ; + return pdata; }