Skip to content
Snippets Groups Projects
Commit f4ff0104 authored by Mårten Lindahl's avatar Mårten Lindahl Committed by Wolfram Sang
Browse files

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: 8a73cd4c ("i2c: exynos5: add High Speed I2C controller driver")
Signed-off-by: default avatarMårten Lindahl <martenli@axis.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Tested-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent e87cc183
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment