Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754691Ab3I2QML (ORCPT ); Sun, 29 Sep 2013 12:12:11 -0400 Received: from mail-ee0-f47.google.com ([74.125.83.47]:41079 "EHLO mail-ee0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752675Ab3I2QMJ (ORCPT ); Sun, 29 Sep 2013 12:12:09 -0400 From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kukjin Kim , Russell King - ARM Linux , Ben Dooks , augulis.darius@gmail.com, =?UTF-8?q?J=C3=BCrgen=20Beisert?= , oselas@community.pengutronix.de, Tomasz Figa Subject: [PATCH] ARM: s3c64xx: mini6410: Correct card detect type for HSMMC1 Date: Sun, 29 Sep 2013 18:12:01 +0200 Message-Id: <1380471121-9478-1-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.8.3.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2003 Lines: 57 According to board schematics, for HSMMC1 a GPIO line is used to detect card presence, while currently it is being configured for internal card detect line, which is multiplexed with card detect line of HSMMC0 and thus breaking it. This patch adds proper sdhci platform data setting card detect type to external GPIO and fixing operation of HSMMC0. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/mach-mini6410.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-s3c64xx/mach-mini6410.c b/arch/arm/mach-s3c64xx/mach-mini6410.c index 58d46a3..97ae470 100644 --- a/arch/arm/mach-s3c64xx/mach-mini6410.c +++ b/arch/arm/mach-s3c64xx/mach-mini6410.c @@ -36,7 +36,9 @@ #include #include #include +#include #include +#include #include #include