From patchwork Thu Jan 26 22:09:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 9540187 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 0C504604A0 for ; Thu, 26 Jan 2017 22:14:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E171927D4D for ; Thu, 26 Jan 2017 22:14:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2E3528305; Thu, 26 Jan 2017 22:14:25 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no 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 276FD27D4D for ; Thu, 26 Jan 2017 22:14:23 +0000 (UTC) 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 1cWsJ7-0006Ou-Dy; Thu, 26 Jan 2017 22:14:17 +0000 Received: from mail-wm0-f65.google.com ([74.125.82.65]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWsJ3-0006Na-HT; Thu, 26 Jan 2017 22:14:15 +0000 Received: by mail-wm0-f65.google.com with SMTP id d140so53848098wmd.2; Thu, 26 Jan 2017 14:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=/N4hf9F/fgR2cFecm1IIMc2fxN4DsduEVIMOdJexHr8=; b=m2DjdV/b7bDQ7Lgb85ppgfTNe2ZMElKqBcAWewWS4xrudPcX4ZX8UwWdus5pcrz0dV ZP32yF/xeXOxeQ6ZOp58LgWgkh6w2d0Ai0XcYAYSx6Nekj+iEIsvdtHmMiCMrGzQRVSW VqOeJj4uwqYTohiY/pZccP7hd2COEaZ1z6j8mM+up87p0a3IeZgCIZvQTywsJ7Oc0G6U 4Vq+cr7ti8dknt85vCZVxy98sZe8HgpSGVCyOrcvEcwQf+FT+Y26J3dFG6SxRqGHQljQ cLmlUnlm36Aa9hnaSv6r3CYPAcz6ven3orq1v2LlbQ+bRn0fDoUdo55mBXsiTCm8TPp4 ifWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=/N4hf9F/fgR2cFecm1IIMc2fxN4DsduEVIMOdJexHr8=; b=nkdqA0WWiSMisFi/sfDRS0+2zvFjf6q2FMAjsjNfMhJAaya+lUjv16Lwv9B72Mx9Ur 6Ers4KMblc3fYIKZ78T8m4xaBdAH7NSxQEJAzdtqtjoYiR1/QDdLOUacryW06DKlEBTm RgGCXW92p39ikYLNfdxXU1yhAGiRMVDPAu8xRq+RO2C6DUROkc7T2gLGVKwydQhgXqUR 6fsK5WqSfQzk8cEmv7m8x2ygscPD4xkk26ROBn61+qT0eAetQC4M5cZvlnPHUIb4HUsw Z5omeMc/7mpGbqBtV8VYZIxkcg2BbInCyLSjTbYcJ1K09sSiZc5UZxTXqN7oXeJaGONm tdOw== X-Gm-Message-State: AIkVDXKzt9yOW9Vqxnday78S8UcH0U4dXQq2+WDd/AmSW/dWjb5xmSFtXXU7tIh63iksrQ== X-Received: by 10.223.161.194 with SMTP id v2mr4442272wrv.144.1485468771476; Thu, 26 Jan 2017 14:12:51 -0800 (PST) Received: from ?IPv6:2003:c6:ebc5:6c00:4534:522a:e499:2bef? (p200300C6EBC56C004534522AE4992BEF.dip0.t-ipconnect.de. [2003:c6:ebc5:6c00:4534:522a:e499:2bef]) by smtp.googlemail.com with ESMTPSA id x25sm4653073wrx.27.2017.01.26.14.12.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jan 2017 14:12:51 -0800 (PST) To: Ulf Hansson , Kevin Hilman , Carlo Caione From: Heiner Kallweit Subject: [PATCH] mmc: meson-gx: set max block count to 256 Message-ID: <82cf7861-5cf8-302d-5354-435282d95619@gmail.com> Date: Thu, 26 Jan 2017 23:09:01 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170126_141413_747227_36F0CE9B X-CRM114-Status: UNSURE ( 8.39 ) 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-arm-kernel@lists.infradead.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 max_blk_count isn't set what results in a default of value 8 to be used (PAGE_SIZE / block size). Set max_blk_count to 256 as used in the uboot driver. Signed-off-by: Heiner Kallweit Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman --- drivers/mmc/host/meson-gx-mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index 3308b5b6..030425be 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -799,6 +799,7 @@ static int meson_mmc_probe(struct platform_device *pdev) goto free_host; } + mmc->max_blk_count = 256; mmc->ops = &meson_mmc_ops; mmc_add_host(mmc);