projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
979a281
)
ARM: pxa: Use PIO for PI2C communication on Palm27x
author
Marek Vasut
<marek.vasut@gmail.com>
Sat, 14 Aug 2010 04:08:30 +0000
(06:08 +0200)
committer
Eric Miao
<eric.y.miao@gmail.com>
Sat, 25 Sep 2010 01:47:02 +0000
(09:47 +0800)
Original idea by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
arch/arm/mach-pxa/palm27x.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/palm27x.c
b/arch/arm/mach-pxa/palm27x.c
index 77ad6d34ab5bc9cd0eb5ce2917a461ce8904c55c..405b92a29793d80fa771546418d78b4bec7094cd 100644
(file)
--- a/
arch/arm/mach-pxa/palm27x.c
+++ b/
arch/arm/mach-pxa/palm27x.c
@@
-469,9
+469,13
@@
static struct i2c_board_info __initdata palm27x_pi2c_board_info[] = {
},
};
+static struct i2c_pxa_platform_data palm27x_i2c_power_info = {
+ .use_pio = 1,
+};
+
void __init palm27x_pmic_init(void)
{
i2c_register_board_info(1, ARRAY_AND_SIZE(palm27x_pi2c_board_info));
- pxa27x_set_i2c_power_info(
NULL
);
+ pxa27x_set_i2c_power_info(
&palm27x_i2c_power_info
);
}
#endif