aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2020-01-17 04:12:53 +0000
committerDmitry Torokhov <[email protected]>2020-01-17 04:22:56 +0000
commitc15f8ba6dc1f6a8330cd89374a21388a5d91f92c (patch)
tree47292bb45af53916936c40e77c6372f80adc88c2 /fs/btrfs/dev-replace.c
parentRevert "Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers" (diff)
downloadkernel-c15f8ba6dc1f6a8330cd89374a21388a5d91f92c.tar.gz
kernel-c15f8ba6dc1f6a8330cd89374a21388a5d91f92c.zip
Input: rmi_f54 - read from FIFO in 32 byte blocks
The F54 Report Data is apparently read through a fifo and for the smbus protocol that means that between reading a block of 32 bytes the rmiaddr shouldn't be incremented. However, changing that causes other non-fifo reads to fail and so that change was reverted. This patch changes just the F54 function and it now reads 32 bytes at a time from the fifo, using the F54_FIFO_OFFSET to update the start address that is used when reading from the fifo. This has only been tested with smbus, not with i2c or spi. But I suspect that the same is needed there since I think similar problems will occur there when reading more than 256 bytes. Signed-off-by: Hans Verkuil <[email protected]> Tested-by: Hans Verkuil <[email protected]> Reported-by: Timo Kaufmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions