From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Mon, 02 Nov 2015 14:37:54 +0900 Subject: [U-Boot] [PATCH 2/2] s5p sdhci: call pinmux for card's gpio pins before use them In-Reply-To: <1446043310-21519-2-git-send-email-p.marczak@samsung.com> References: <1446043310-21519-1-git-send-email-p.marczak@samsung.com> <1446043310-21519-2-git-send-email-p.marczak@samsung.com> Message-ID: <5636F6B2.5020300@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 28/10/15 23:41, Przemyslaw Marczak wrote: > The SD card detection depends on checking one pin state. > But the pin was configured after card was detected, which is wrong. > > This commit fixes this, by moving call to pinmux before use the pin. > > Tested-on: Odroid U3 and Odroid X2. > > Signed-off-by: Przemyslaw Marczak > Cc: Guillaume GARDET > Cc: Lukasz Majewski > Cc: Jaehoon Chung > Cc: Minkyu Kang > Cc: Simon Glass > --- > drivers/mmc/s5p_sdhci.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > applied to u-boot-samsung. Thanks, Minkyu Kang.