From aadd8862f1b7d1cec9c05b8989c7217aaa3db89d Mon Sep 17 00:00:00 2001 From: Ryan QIAN Date: Fri, 6 Jan 2012 13:58:12 +0800 Subject: [PATCH] ENGR00171452 [MX6Qsabrelite]:wifi failed to work after system resume. Set keep power on suspend flag for sd3 & sd4 Signed-off-by: Ryan QIAN --- arch/arm/mach-mx6/board-mx6q_sabrelite.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-mx6/board-mx6q_sabrelite.c b/arch/arm/mach-mx6/board-mx6q_sabrelite.c index b2af641a3202..9d688153d59f 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabrelite.c +++ b/arch/arm/mach-mx6/board-mx6q_sabrelite.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright (C) 2011-2012 Freescale Semiconductor, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -400,12 +400,14 @@ static int plt_sd4_pad_change(int clock) static const struct esdhc_platform_data mx6q_sabrelite_sd3_data __initconst = { .cd_gpio = MX6Q_SABRELITE_SD3_CD, .wp_gpio = MX6Q_SABRELITE_SD3_WP, + .keep_power_at_suspend = 1, .platform_pad_change = plt_sd3_pad_change, }; static const struct esdhc_platform_data mx6q_sabrelite_sd4_data __initconst = { .cd_gpio = MX6Q_SABRELITE_SD4_CD, .wp_gpio = MX6Q_SABRELITE_SD4_WP, + .keep_power_at_suspend = 1, .platform_pad_change = plt_sd4_pad_change, }; -- 2.39.5