summaryrefslogtreecommitdiff
path: root/configs/O2MNT_O2M112_defconfig
diff options
context:
space:
mode:
authorStefan Roese <[email protected]>2016-04-21 08:19:38 +0200
committerHeiko Schocher <[email protected]>2016-04-25 07:31:16 +0200
commit1c8b089b45cddeef6fb76d9abb8d48601ec5e0a1 (patch)
tree76a5ed1433cbe409d20b49f72e508c0caa552c69 /configs/O2MNT_O2M112_defconfig
parente209828cbd4b8d896380c710bac82c5f7bd1ad72 (diff)
i2c: designware_i2c: Add dw_i2c_enable() helper function
dw_i2c_enable() is used to dis-/en-able the I2C controller. It makes sense to add such a function, as the controller is dis-/en-abled multiple times in the code. Additionally, this function now checks, if the controller is really dis-/en-abled. This code is copied from the Linux I2C driver version. Signed-off-by: Stefan Roese <[email protected]> Cc: Simon Glass <[email protected]> Cc: Bin Meng <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Heiko Schocher <[email protected]> Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'configs/O2MNT_O2M112_defconfig')
0 files changed, 0 insertions, 0 deletions