diff options
author | Mårten Lindahl <martenli@axis.com> | 2021-02-17 01:25:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-04 13:38:20 +0300 |
commit | b0501bee4b653327475ef1b9a8c4cac5e7c644f9 (patch) | |
tree | 277fef78a2b33098ca029e90507f9bfc6f2d464d /mm/khugepaged.c | |
parent | d49d763959032753b623faaab19c6145dd5d541a (diff) | |
download | linux-b0501bee4b653327475ef1b9a8c4cac5e7c644f9.tar.xz |
i2c: exynos5: Preserve high speed master code
[ Upstream commit f4ff0104d4c807a7f96aa3358c03d694895ee8ea ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/khugepaged.c')
0 files changed, 0 insertions, 0 deletions