Message ID | b199dad5-e171-9c4a-2a44-83e0fe2365a9@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 77609604A0 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 30 Jan 2017 19:34:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AA6C2816B for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 30 Jan 2017 19:34:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F621281A7; Mon, 30 Jan 2017 19:34:29 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,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 2F7D127F17 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 30 Jan 2017 19:34:29 +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 1cYHiV-0003Lb-CI; Mon, 30 Jan 2017 19:34:19 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cYHiR-0003HV-5S; Mon, 30 Jan 2017 19:34:16 +0000 Received: by mail-wm0-x242.google.com with SMTP id v77so18032947wmv.0; Mon, 30 Jan 2017 11:33:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=4Lq+TlZFNL4weHU7EUp+nQryRADKm6Na4g589YXUiRI=; b=BOOlstB4KU2zFHihM74lADub19nTm20VqFtKukxrkxgHiQewBbXmcb9+/A2GhB/LR4 nGQFJKxIqnNsTiEmObHBhr2jYSdzcUmgFdVkIdivyz7KQU/xM/fXJ79GawLq45Rf104V j+yi7S88+IxvcMfXBbG7BDQ1lbHabsoq0BMWbdNPvHWWDhjwI5dW01IfjdfjIF5TlTmx S6zXu4gmTXKN7JQO6C3I5q2P6ZTf3Fj0gW1zXNWpttNHa4BFmHkdqWlujFD17uDfhv9d OJ4GO4zMO5MuMb3m2psw2pb9MvtpVMrgNWSV4mKYS8eqvvTBOwdpkBsNIOhjWyCevRco 7AsQ== 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:cc:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=4Lq+TlZFNL4weHU7EUp+nQryRADKm6Na4g589YXUiRI=; b=h5nI1iTrIUs60+qrotjT6u8fbWajbVksxqUwknCQEUhcGtmRT55bPFmKElvLlh5Xnc pGsJ6yaqG2U6FzaDtOGepJmjKIPrHzsocEq3NpuV04RR1t0nX1CsV7U4HZMFxUaEEHpD doCOpFjEU/tTL/29wMHFVAG3HQW1Hefv8EudFg+OQvbvQcQgRGY7emHIGQW7lDyJNsuy /yj7dqZzMYjYCOiP1IWAT8Fxtimhkn3QjbXnLJnsWNFOKH8Y0GR7T8yeG2nUCtGBrWBp d51hRezCpFPClRS9RRBP+mV1TDrJROv1Vu7KbKJTDDkDCbK1jbQfVRyqTc2hE80cUzxh +m7Q== X-Gm-Message-State: AIkVDXLSx/ucsS09rgADLajNCPYlvlyBI62Ev8FaQWy2ZjfHh3xOpM6ItijtrLk56R/tUQ== X-Received: by 10.28.141.199 with SMTP id p190mr16203238wmd.89.1485804832295; Mon, 30 Jan 2017 11:33:52 -0800 (PST) Received: from ?IPv6:2003:c6:ebc5:6c00:7569:871a:d177:3bc5? (p200300C6EBC56C007569871AD1773BC5.dip0.t-ipconnect.de. [2003:c6:ebc5:6c00:7569:871a:d177:3bc5]) by smtp.googlemail.com with ESMTPSA id 8sm28073069wmg.1.2017.01.30.11.33.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 11:33:51 -0800 (PST) From: Heiner Kallweit <hkallweit1@gmail.com> Subject: [PATCH v3] mmc: meson-gx: set max block count To: Ulf Hansson <ulf.hansson@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Carlo Caione <carlo@caione.org> Message-ID: <b199dad5-e171-9c4a-2a44-83e0fe2365a9@gmail.com> Date: Mon, 30 Jan 2017 20:33:47 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170130_113415_392139_30F70F50 X-CRM114-Status: UNSURE ( 7.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-amlogic@lists.infradead.org, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index 83361f1f..d4d174ed 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -810,6 +810,8 @@ static int meson_mmc_probe(struct platform_device *pdev) goto free_host; } + mmc->max_blk_count = CMD_CFG_LENGTH_MASK; + mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; mmc->ops = &meson_mmc_ops; mmc_add_host(mmc);