diff options
Diffstat (limited to 'meta/packages/linux/linux-rp-2.6.26/zaurus-i2c-init.patch')
-rw-r--r-- | meta/packages/linux/linux-rp-2.6.26/zaurus-i2c-init.patch | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-rp-2.6.26/zaurus-i2c-init.patch b/meta/packages/linux/linux-rp-2.6.26/zaurus-i2c-init.patch new file mode 100644 index 0000000000..40214e42b0 --- /dev/null +++ b/meta/packages/linux/linux-rp-2.6.26/zaurus-i2c-init.patch | |||
@@ -0,0 +1,68 @@ | |||
1 | Typo in poodle chunk fixed: set_pxa_i2c_info->pxa_set_i2c_info. | ||
2 | |||
3 | From: Mark Brown <broonie@opensource.wolfsonmicro.com> | ||
4 | To: Richard Purdie <rpurdie@rpsys.net> | ||
5 | Date: Wed, 16 Jul 2008 23:19:36 +0100 | ||
6 | Message-Id: <1216246776-4500-1-git-send-email-broonie@opensource.wolfsonmicro.com> | ||
7 | List-Id: ARM Linux kernel discussions | ||
8 | <linux-arm-kernel.lists.arm.linux.org.uk> | ||
9 | |||
10 | Both spitz and poodle have audio codecs on their primary I2C bus so need | ||
11 | to call pxa_set_i2c_info() to set it up during init. Tested on spitz by | ||
12 | Stanislav. | ||
13 | |||
14 | Reported-by: Stanislav Brabec <utx@penguin.cz> | ||
15 | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> | ||
16 | --- | ||
17 | arch/arm/mach-pxa/poodle.c | 2 ++ | ||
18 | arch/arm/mach-pxa/spitz.c | 2 ++ | ||
19 | 2 files changed, 4 insertions(+), 0 deletions(-) | ||
20 | |||
21 | diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c | ||
22 | index 39612cf..510018b 100644 | ||
23 | --- a/arch/arm/mach-pxa/poodle.c | ||
24 | +++ b/arch/arm/mach-pxa/poodle.c | ||
25 | @@ -36,6 +36,7 @@ | ||
26 | #include <asm/arch/pxa2xx-gpio.h> | ||
27 | #include <asm/arch/mmc.h> | ||
28 | #include <asm/arch/udc.h> | ||
29 | +#include <asm/arch/i2c.h> | ||
30 | #include <asm/arch/irda.h> | ||
31 | #include <asm/arch/poodle.h> | ||
32 | #include <asm/arch/pxafb.h> | ||
33 | @@ -387,6 +388,7 @@ static void __init poodle_init(void) | ||
34 | pxa_set_udc_info(&udc_info); | ||
35 | pxa_set_mci_info(&poodle_mci_platform_data); | ||
36 | pxa_set_ficp_info(&poodle_ficp_platform_data); | ||
37 | + pxa_set_i2c_info(NULL); | ||
38 | |||
39 | platform_scoop_config = &poodle_pcmcia_config; | ||
40 | |||
41 | diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c | ||
42 | index 35616a5..e2bde09 100644 | ||
43 | --- a/arch/arm/mach-pxa/spitz.c | ||
44 | +++ b/arch/arm/mach-pxa/spitz.c | ||
45 | @@ -38,6 +38,7 @@ | ||
46 | #include <asm/arch/pxa-regs.h> | ||
47 | #include <asm/arch/pxa2xx-regs.h> | ||
48 | #include <asm/arch/pxa2xx-gpio.h> | ||
49 | +#include <asm/arch/i2c.h> | ||
50 | #include <asm/arch/irda.h> | ||
51 | #include <asm/arch/mmc.h> | ||
52 | #include <asm/arch/ohci.h> | ||
53 | @@ -572,6 +573,7 @@ static void __init common_init(void) | ||
54 | pxa_set_ficp_info(&spitz_ficp_platform_data); | ||
55 | set_pxa_fb_parent(&spitzssp_device.dev); | ||
56 | set_pxa_fb_info(&spitz_pxafb_info); | ||
57 | + pxa_set_i2c_info(NULL); | ||
58 | } | ||
59 | |||
60 | #if defined(CONFIG_MACH_SPITZ) || defined(CONFIG_MACH_BORZOI) | ||
61 | -- | ||
62 | 1.5.6.2 | ||
63 | |||
64 | |||
65 | ------------------------------------------------------------------- | ||
66 | List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel | ||
67 | FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php | ||
68 | Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php | ||