diff options
author | Weifeng Voon <weifeng.voon@intel.com> | 2016-08-12 16:02:50 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-08-26 00:42:06 +0200 |
commit | 548e6695d16d201f390f7554ae7d0b5bb8690166 (patch) | |
tree | 34600c2e0d5b83645ed998c288b2bfd31ca173b4 /tools | |
parent | i2c: designware: Enable fast mode plus (diff) | |
download | linux-548e6695d16d201f390f7554ae7d0b5bb8690166.tar.xz linux-548e6695d16d201f390f7554ae7d0b5bb8690166.zip |
i2c: designware: set the common config before the if else
DW_IC_CON_MASTER, DW_IC_CON_SLAVE_DISABLE and DW_IC_CON_RESTART_EN are
common config that need to be set for i2c designware master. So, configure
it first without having to repeat inside the if else.
Signed-off-by: Weifeng Voon <weifeng.voon@intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions