diff options
Diffstat (limited to 'arch/arm/plat-omap/i2c.c')
-rw-r--r-- | arch/arm/plat-omap/i2c.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/i2c.c b/arch/arm/plat-omap/i2c.c index a938df0908a2..0d3eda77e7ce 100644 --- a/arch/arm/plat-omap/i2c.c +++ b/arch/arm/plat-omap/i2c.c | |||
@@ -155,6 +155,12 @@ static inline int omap2_i2c_add_bus(int bus_id) | |||
155 | 155 | ||
156 | pdata = &i2c_pdata[bus_id - 1]; | 156 | pdata = &i2c_pdata[bus_id - 1]; |
157 | /* | 157 | /* |
158 | * pass the hwmod class's CPU-specific knowledge of I2C IP revision in | ||
159 | * use up to the OMAP I2C driver via platform data | ||
160 | */ | ||
161 | pdata->rev = oh->class->rev; | ||
162 | |||
163 | /* | ||
158 | * When waiting for completion of a i2c transfer, we need to | 164 | * When waiting for completion of a i2c transfer, we need to |
159 | * set a wake up latency constraint for the MPU. This is to | 165 | * set a wake up latency constraint for the MPU. This is to |
160 | * ensure quick enough wakeup from idle, when transfer | 166 | * ensure quick enough wakeup from idle, when transfer |