aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2025-01-15 12:36:23 +0000
committerWolfram Sang <[email protected]>2025-01-15 18:37:33 +0000
commit093f70c134f70e4632b295240f07d2b50b74e247 (patch)
treea4660863d2224202b5eca9bd9ab668f107f18af5 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parenti2c: mux: demux-pinctrl: correct comment (diff)
downloadkernel-093f70c134f70e4632b295240f07d2b50b74e247.tar.gz
kernel-093f70c134f70e4632b295240f07d2b50b74e247.zip
i2c: rcar: fix NACK handling when being a target
When this controller is a target, the NACK handling had two issues. First, the return value from the backend was not checked on the initial WRITE_REQUESTED. So, the driver missed to send a NACK in this case. Also, the NACK always arrives one byte late on the bus, even in the WRITE_RECEIVED case. This seems to be a HW issue. We should then not rely on the backend to correctly NACK the superfluous byte as well. Fix both issues by introducing a flag which gets set whenever the backend requests a NACK and keep sending it until we get a STOP condition. Fixes: de20d1857dd6 ("i2c: rcar: add slave support") Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions