diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2013-04-10 00:36:40 +0000 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-04-15 18:17:51 +0200 |
commit | 3ca4ed8715a6677ce2cdd7aa471685e653b5114d (patch) | |
tree | 3d9e689ceb242d4ff355262a5ea6ae59a2f967e3 /drivers/w1 | |
parent | efe7d640ef486c4c0c305641dbcacc6918542b76 (diff) | |
download | kernel_goldelico_gta04-3ca4ed8715a6677ce2cdd7aa471685e653b5114d.zip kernel_goldelico_gta04-3ca4ed8715a6677ce2cdd7aa471685e653b5114d.tar.gz kernel_goldelico_gta04-3ca4ed8715a6677ce2cdd7aa471685e653b5114d.tar.bz2 |
i2c-designware: enable/disable the controller properly
The correct way to disable or enable the controller is to wait until the
DW_IC_ENABLE_STATUS register bit matches the bit we program into DW_IC_ENABLE
register. This procedure is described in the DesignWare I2C databook.
By doing this we can be sure that the controller is in correct state once
the function returns.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions