Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755350AbdCJIqO convert rfc822-to-8bit (ORCPT ); Fri, 10 Mar 2017 03:46:14 -0500 Received: from gloria.sntech.de ([95.129.55.99]:48258 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750981AbdCJIqN (ORCPT ); Fri, 10 Mar 2017 03:46:13 -0500 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Guenter Roeck Cc: Ulf Hansson , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Anssi Hannula , Douglas Anderson , Brian Norris Subject: Re: mmc: core: Fix access to HS400-ES devices Date: Fri, 10 Mar 2017 09:46:08 +0100 Message-ID: <7839966.gC4mPiIIyr@diego> User-Agent: KMail/5.2.3 (Linux/4.8.0-2-amd64; KDE/5.27.0; x86_64; ; ) In-Reply-To: <1488406307-8952-1-git-send-email-linux@roeck-us.net> References: <1488406307-8952-1-git-send-email-linux@roeck-us.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1078 Lines: 24 Am Mittwoch, 1. M?rz 2017, 14:11:47 CET schrieb Guenter Roeck: > HS400-ES devices fail to initialize with the following error messages. > > mmc1: power class selection to bus width 8 ddr 0 failed > mmc1: error -110 whilst initialising MMC card > > This was seen on Samsung Chromebook Plus. Code analysis points to > commit 3d4ef329757c ("mmc: core: fix multi-bit bus width without > high-speed mode"), which attempts to set the bus width for all but > HS200 devices unconditionally. However, for HS400-ES, the bus width > is already selected. > > Cc: Anssi Hannula > Cc: Douglas Anderson > Cc: Brian Norris > Fixes: 3d4ef329757c ("mmc: core: fix multi-bit bus width ...") > Signed-off-by: Guenter Roeck > Reviewed-by: Douglas Anderson > Reviewed-by: Shawn Lin On a rk3399-kevin and the current mainline kernel from 20170309 it makes the issue go away and the emmc work again, so Tested-by: Heiko Stuebner