diff options
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa27x.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c index cdaf573e0f17..48cbdc771a80 100644 --- a/arch/arm/mach-pxa/pxa27x.c +++ b/arch/arm/mach-pxa/pxa27x.c | |||
@@ -349,6 +349,9 @@ struct platform_device pxa27x_device_i2c_power = { | |||
349 | 349 | ||
350 | void __init pxa_set_i2c_power_info(struct i2c_pxa_platform_data *info) | 350 | void __init pxa_set_i2c_power_info(struct i2c_pxa_platform_data *info) |
351 | { | 351 | { |
352 | local_irq_disable(); | ||
353 | PCFR |= PCFR_PI2CEN; | ||
354 | local_irq_enable(); | ||
352 | pxa27x_device_i2c_power.dev.platform_data = info; | 355 | pxa27x_device_i2c_power.dev.platform_data = info; |
353 | } | 356 | } |
354 | 357 | ||