Message ID | 20180409153105.13597-10-marek.vasut+renesas@gmail.com |
---|---|
State | Accepted |
Commit | a7b7401c786871ec65572e1cd66703a0eb461060 |
Delegated to: | Jaehoon Chung |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="i025htS8"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40KZDX6HXBz9s25 for <incoming@patchwork.ozlabs.org>; Tue, 10 Apr 2018 01:37:16 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 71D4BC21DD7; Mon, 9 Apr 2018 15:32:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 622CEC21C8B; Mon, 9 Apr 2018 15:31:51 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 61256C21C8B; Mon, 9 Apr 2018 15:31:40 +0000 (UTC) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by lists.denx.de (Postfix) with ESMTPS id 7FB44C21DA6 for <u-boot@lists.denx.de>; Mon, 9 Apr 2018 15:31:35 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id g8so19949102wmd.2 for <u-boot@lists.denx.de>; Mon, 09 Apr 2018 08:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=P6HaT94Qrhl1iqmQRWAUOils7GDdEWDFbnk1z/Lan0g=; b=i025htS8mBOoqFhxDDhs1EfSmov/sbj6GHTjE3Aoc+rXSwcgBRRqec7FIjW9TvgJW3 py6IHmNM1qmoa2PzTaK6ennq+lXjimBrJkVlzoaDxC+P0atNarmLUA5WwKqo6LEO64zY AaACyKrXtj7ZVd+2r4nA8ACMmdQHDw6D2EkFOcam+QycQ1NIdar3mmnbvQkdcgQGoC1P hEiN+9NtkEKe4YPcezjbRRJOJMCDLG9PgmVRfuJs23GCXdWSlUhIV30ABCrZnP/RCH9Z bPSR/TGzY0QBtapEXzR7/4J6zOr/IPKBSqtD6LoxjnxE7tH67ROwRstNjhj01ZDUlaRq 3ItQ== 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; bh=P6HaT94Qrhl1iqmQRWAUOils7GDdEWDFbnk1z/Lan0g=; b=Zh7cJTfCMKFFx96OLBObntnzHRzeqdEv6S40GXHnRH87SXngfKS0poekcHHdIfECD0 p9ANrcyt8m7T5n+j5nc1Z+pbh+yBeBO9XDZXGHllLRqAkIuJkLVjB3/9EAy66pfIqF6b I5kb06+N9KXaGoB9hlDlNbhvYs5b96V3d3vfztZcEe8I8ErocYLLkzZgAemLEM0Cd/+v A0CkgaCgAd8tEMeyHWgzPTQWrtPKtSHVEk4l//0GqnbYgGT8Yg5Ik/LU4Vxq7k8TUsV6 /2CTTWmORpqnVTMxXHYqFWmDwmCTJYdmC9p/YSIsIF3Wz9RHyF01K9PHcsFR9ENs3ojM SwWg== X-Gm-Message-State: ALQs6tDXPnJOx2KO6g+Xrmejo6weznLScuLQFwlPTPCJ9rv821kzxrcZ Pfp8wQIGCPwbvO+KreNWJ/bZ5mp5 X-Google-Smtp-Source: AIpwx4/4yPyDkKBqlqdM0NSGMSRZphi9jdbFUfvXw6+f/Duyv9wXhYdOc6rus6hByyjPjPiSO9t3EA== X-Received: by 10.28.245.13 with SMTP id t13mr295035wmh.129.1523287894757; Mon, 09 Apr 2018 08:31:34 -0700 (PDT) Received: from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id 78sm1396262wmm.19.2018.04.09.08.31.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Apr 2018 08:31:33 -0700 (PDT) From: Marek Vasut <marek.vasut@gmail.com> X-Google-Original-From: Marek Vasut <marek.vasut+renesas@gmail.com> To: u-boot@lists.denx.de Date: Mon, 9 Apr 2018 17:31:00 +0200 Message-Id: <20180409153105.13597-10-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180409153105.13597-1-marek.vasut+renesas@gmail.com> References: <20180409153105.13597-1-marek.vasut+renesas@gmail.com> Cc: Marek Vasut <marek.vasut+renesas@gmail.com> Subject: [U-Boot] [PATCH 10/15] mmc: matsushita-common: Handle bus width 0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
[U-Boot,01/15] mmc: uniphier: Factor out FIFO accessors
|
expand
|
diff --git a/drivers/mmc/matsushita-common.c b/drivers/mmc/matsushita-common.c index 11e4553d87..377f349b41 100644 --- a/drivers/mmc/matsushita-common.c +++ b/drivers/mmc/matsushita-common.c @@ -504,6 +504,7 @@ static int matsu_sd_set_bus_width(struct matsu_sd_priv *priv, u32 val, tmp; switch (mmc->bus_width) { + case 0: case 1: val = MATSU_SD_OPTION_WIDTH_1; break;
Handle bus width 0 as 1-bit bus to assure valid content of MATSU_SD_OPTION register WIDTH field. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> --- drivers/mmc/matsushita-common.c | 1 + 1 file changed, 1 insertion(+)