From patchwork Wed Apr 13 04:38:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 990 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:48:05 -0000 Delivered-To: patches@linaro.org Received: by 10.68.59.138 with SMTP id z10cs271001pbq; Tue, 12 Apr 2011 21:39:22 -0700 (PDT) Received: by 10.42.75.137 with SMTP id a9mr3263746ick.194.1302669561667; Tue, 12 Apr 2011 21:39:21 -0700 (PDT) Received: from mail-pv0-f178.google.com (mail-pv0-f178.google.com [74.125.83.178]) by mx.google.com with ESMTPS id jv9si557070icb.123.2011.04.12.21.39.20 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Apr 2011 21:39:20 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.178 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=74.125.83.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.83.178 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by pvg7 with SMTP id 7so153414pvg.37 for ; Tue, 12 Apr 2011 21:39:19 -0700 (PDT) Received: by 10.142.140.10 with SMTP id n10mr6974454wfd.72.1302669559603; Tue, 12 Apr 2011 21:39:19 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id p40sm274103wfc.17.2011.04.12.21.39.16 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Apr 2011 21:39:18 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, ben-linux@fluff.org, linaro-dev@lists.linaro.org, patches@linaro.org Subject: [PATCH] ARM: EXYNOS4: Register HSMMC2 before HSMMC0 on SMDKV310 board Date: Wed, 13 Apr 2011 10:08:54 +0530 Message-Id: <1302669534-28926-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.1 On Exynos4210 SOC, of all the HSMMC controllers only HSMMC2 can be used as a boot media. Hence the default SD/MMC card should be connected to HSMMC2. The secondary card is connected to HSMMC0. If HSMMC0 is registered before HSMMC2, the device node for default MMC card changes depending on whether secondary card is connected or not. It creates problem in mounting the file-system present in default SD/MMC card. Hence HSMMC2 should be registered before HSMMC0. Signed-off-by: Tushar Behera --- arch/arm/mach-exynos4/mach-smdkv310.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-exynos4/mach-smdkv310.c b/arch/arm/mach-exynos4/mach-smdkv310.c index f6b1c7e..4f34d43 100644 --- a/arch/arm/mach-exynos4/mach-smdkv310.c +++ b/arch/arm/mach-exynos4/mach-smdkv310.c @@ -168,9 +168,9 @@ static struct i2c_board_info i2c_devs1[] __initdata = { }; static struct platform_device *smdkv310_devices[] __initdata = { + &s3c_device_hsmmc2, &s3c_device_hsmmc0, &s3c_device_hsmmc1, - &s3c_device_hsmmc2, &s3c_device_hsmmc3, &s3c_device_i2c1, &s3c_device_rtc,