diff options
author | Mårten Lindahl <martenli@axis.com> | 2021-02-16 23:25:38 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-02-26 11:47:42 +0100 |
commit | f4ff0104d4c807a7f96aa3358c03d694895ee8ea (patch) | |
tree | a76089cdd8b9742c3a79e11410e6582e488d1694 /drivers/rtc | |
parent | e87cc183cbff6a8964f2f854b8d0eba815cc5c54 (diff) | |
download | linux-f4ff0104d4c807a7f96aa3358c03d694895ee8ea.tar.gz linux-f4ff0104d4c807a7f96aa3358c03d694895ee8ea.tar.bz2 linux-f4ff0104d4c807a7f96aa3358c03d694895ee8ea.zip |
i2c: exynos5: Preserve high speed master code
When the driver starts to send a message with the MASTER_ID field
set (high speed), the whole I2C_ADDR register is overwritten including
MASTER_ID as the SLV_ADDR_MAS field is set.
This patch preserves already written fields in I2C_ADDR when writing
SLV_ADDR_MAS.
Fixes: 8a73cd4cfa15 ("i2c: exynos5: add High Speed I2C controller driver")
Signed-off-by: Mårten Lindahl <martenli@axis.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions