]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-omap: Program I2C_WE on OMAP4 to enable i2c wakeup
authorRajendra Nayak <rnayak@ti.com>
Fri, 4 Mar 2011 13:32:24 +0000 (19:02 +0530)
committerBen Dooks <ben-linux@fluff.org>
Mon, 7 Mar 2011 09:53:38 +0000 (09:53 +0000)
commit0c4cea253fc3a7a3222a59e81ccf13bcdd83e11e
treebbe2c8dd6292c10dbb54a3f571cf5b0647ad94b4
parente0bd7a54dbec57a99834fac1616ffba83a6f21b7
i2c-omap: Program I2C_WE on OMAP4 to enable i2c wakeup

For the I2C module to be wakeup capable, programming I2C_WE register (which
was skipped for OMAP4430) is needed even on OMAP4.

This fixes i2c controller timeouts which were seen recently with the static
dependency being cleared between MPU and L4PER clockdomains.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
[ben-linux@fluff.org: re-flowed description]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-omap.c