summaryrefslogtreecommitdiff
path: root/packages/linux/linux-rp-2.6.23/tosa-pxaac97-r6-fix-r0.patch
blob: 6f6f540effef84e8f4754bbb308d7a9c1f50724b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
From 005693333f4b3e0495bb80cc3cfd812e3e6f0a30 Mon Sep 17 00:00:00 2001
From: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date: Fri, 19 Oct 2007 00:48:42 +0400
Subject: [PATCH] tosa-pxaac97-r6.patch fixes

---
 arch/arm/mach-pxa/tosa.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
index 059fa07..61536d4 100644
--- a/arch/arm/mach-pxa/tosa.c
+++ b/arch/arm/mach-pxa/tosa.c
@@ -310,10 +310,10 @@ static void __init tosa_init(void)
 	PMCR = 0x01;
 
         // AC97 Disable all IRQ's
-        pxa_set_cken(CKEN2_AC97, 1);
+        pxa_set_cken(CKEN_AC97, 1);
         GCR &= ~(GCR_CDONE_IE | GCR_SDONE_IE | GCR_SECRDY_IEN | GCR_PRIRDY_IEN | GCR_SECRES_IEN | GCR_PRIRES_IEN);
         GSR = GSR;
-	pxa_set_cken(CKEN2_AC97, 0);
+	pxa_set_cken(CKEN_AC97, 0);
 									
 	pxa_set_mci_info(&tosa_mci_platform_data);
 	pxa_set_udc_info(&udc_info);
-- 
1.4.4.4

From 005693333f4b3e0495bb80cc3cfd812e3e6f0a30 Mon Sep 17 00:00:00 2001
From: Dmitry Baryshkov <dbaryshkov@gmail.com>
Date: Fri, 19 Oct 2007 00:48:42 +0400
Subject: [PATCH] tosa-pxaac97-r6.patch fixes

---
 arch/arm/mach-pxa/tosa.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c
index 059fa07..61536d4 100644
--- a/arch/arm/mach-pxa/tosa.c
+++ b/arch/arm/mach-pxa/tosa.c
@@ -310,10 +310,10 @@ static void __init tosa_init(void)
 	PMCR = 0x01;
 
         // AC97 Disable all IRQ's
-        pxa_set_cken(CKEN2_AC97, 1);
+        pxa_set_cken(CKEN_AC97, 1);
         GCR &= ~(GCR_CDONE_IE | GCR_SDONE_IE | GCR_SECRDY_IEN | GCR_PRIRDY_IEN | GCR_SECRES_IEN | GCR_PRIRES_IEN);
         GSR = GSR;
-	pxa_set_cken(CKEN2_AC97, 0);
+	pxa_set_cken(CKEN_AC97, 0);
 									
 	pxa_set_mci_info(&tosa_mci_platform_data);
 	pxa_set_udc_info(&udc_info);
-- 
1.4.4.4