summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2024-02-14 15:59:39 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-23 09:24:59 +0100
commit6be99c51829b24c914cef5bff6164877178e84d9 (patch)
tree40488935bffe7e24eb643b3fbdc576b8854aa4da /scripts
parenta99ba46e8a20243926bfb0e29bf9e2d4783ce4d2 (diff)
i2c: i801: Fix block process call transactions
[ Upstream commit c1c9d0f6f7f1dbf29db996bd8e166242843a5f21 ] According to the Intel datasheets, software must reset the block buffer index twice for block process call transactions: once before writing the outgoing data to the buffer, and once again before reading the incoming data from the buffer. The driver is currently missing the second reset, causing the wrong portion of the block buffer to be read. Signed-off-by: Jean Delvare <jdelvare@suse.de> Reported-by: Piotr Zakowski <piotr.zakowski@intel.com> Closes: https://lore.kernel.org/linux-i2c/20240213120553.7b0ab120@endymion.delvare/ Fixes: 315cd67c9453 ("i2c: i801: Add Block Write-Block Read Process Call support") Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions