a0b15233b6442c12397b6983a025f3f5917f1f0f
[openwrt/openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1223-Remove-some-bits-of-nspy-GSM-flow-control-patches.patch
1 From f5d2660aaa6b05397714ffb48e2e71c71cef0bdd Mon Sep 17 00:00:00 2001
2 From: Mike Westerhof <mwester@dls.net>
3 Date: Fri, 4 Jul 2008 08:24:25 +0100
4 Subject: [PATCH] Remove some bits of nspy + GSM flow control patches that leaked into stable
5
6 Signed-off-by: Mike Westerhof <mwester@dls.net>
7 ---
8 arch/arm/plat-s3c24xx/neo1973_pm_gsm.c | 15 ---------------
9 1 files changed, 0 insertions(+), 15 deletions(-)
10
11 diff --git a/arch/arm/plat-s3c24xx/neo1973_pm_gsm.c b/arch/arm/plat-s3c24xx/neo1973_pm_gsm.c
12 index f3c9504..5ef23d1 100644
13 --- a/arch/arm/plat-s3c24xx/neo1973_pm_gsm.c
14 +++ b/arch/arm/plat-s3c24xx/neo1973_pm_gsm.c
15 @@ -34,15 +34,6 @@
16 extern void s3c24xx_serial_register_resume_dependency(struct resume_dependency *
17 resume_dependency, int uart_index);
18
19 -/* flag set if we flow-controlled the GSM in our suspend routine */
20 -int gsm_auto_flowcontrolled;
21 -
22 -int gta01_gsm_enabled;
23 -EXPORT_SYMBOL(gta01_gsm_enabled);
24 -
25 -int gta_gsm_interrupts;
26 -EXPORT_SYMBOL(gta_gsm_interrupts);
27 -
28 struct gta01pm_priv {
29 int gpio_ngsm_en;
30 int gpio_ndl_gsm;
31 @@ -233,12 +224,6 @@ static int gta01_gsm_resume(struct platform_device *pdev)
32 if (machine_is_neo1973_gta02())
33 s3c2410_gpio_setpin(GTA02_GPIO_nDL_GSM, gta01_gsm.gpio_ndl_gsm);
34
35 - /* If we forced flow-control on the GSM, we should also release it */
36 - if (gsm_auto_flowcontrolled) {
37 - s3c2410_gpio_cfgpin(S3C2410_GPH1, S3C2410_GPH1_nRTS0);
38 - gsm_auto_flowcontrolled = 0;
39 - }
40 -
41 return 0;
42 }
43 #else
44 --
45 1.5.6.5
46