summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2020-10-07 10:07:49 +0200
committerWolfram Sang <wsa@kernel.org>2020-10-08 11:57:06 +0200
commit28683e847e2f20eed22cdd24f185d7783db396d3 (patch)
tree6189df5e937b85cc2bb04a5d4c6930e0553b35b4 /lib
parentfa4d30556883f2eaab425b88ba9904865a4d00f3 (diff)
i2c: meson: fix clock setting overwrite
When the slave address is written in do_start(), SLAVE_ADDR is written completely. This may overwrite some setting related to the clock rate or signal filtering. Fix this by writing only the bits related to slave address. To avoid causing unexpected changed, explicitly disable filtering or high/low clock mode which may have been left over by the bootloader. Fixes: 30021e3707a7 ("i2c: add support for Amlogic Meson I2C controller") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions