summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2025-01-15 17:23:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-23 17:22:54 +0100
commit9e2d61c4dcd8adf5755a6a7106476993926fc225 (patch)
treec963410d8f7c80b48c046298a7b1a7dd3740bba7 /scripts/patch-kernel
parentd1e4aff10c6b06bee8bd2db0a899372c70272e65 (diff)
downloadlinux-9e2d61c4dcd8adf5755a6a7106476993926fc225.tar.gz
linux-9e2d61c4dcd8adf5755a6a7106476993926fc225.tar.bz2
linux-9e2d61c4dcd8adf5755a6a7106476993926fc225.zip
i2c: testunit: on errors, repeat NACK until STOP
[ Upstream commit 6ad30f7890423341f4b79329af1f9b9bb3cdec03 ] This backend requests a NACK from the controller driver when it detects an error. If that request gets ignored from some reason, subsequent accesses will wrongly be handled OK. To fix this, an error now changes the state machine, so the backend will report NACK until a STOP condition has been detected. This make the driver more robust against controllers which will sadly apply the NACK not to the current byte but the next one. Fixes: a8335c64c5f0 ("i2c: add slave testunit driver") Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions