summaryrefslogtreecommitdiffstats
path: root/block/blk-timeout.c
diff options
context:
space:
mode:
authorHuibin Hong2017-08-16 04:12:02 +0200
committerMark Brown2017-08-16 12:58:23 +0200
commit04b37d2d02c0a5ae2f4e59326ef6deaff18e0456 (patch)
tree2b8f72c4b5afcc32c9a29b6adb47c31b8dbe4f7a /block/blk-timeout.c
parentspi: rockchip: add compatible string for rv1108 spi (diff)
downloadkernel-qcow2-linux-04b37d2d02c0a5ae2f4e59326ef6deaff18e0456.tar.gz
kernel-qcow2-linux-04b37d2d02c0a5ae2f4e59326ef6deaff18e0456.tar.xz
kernel-qcow2-linux-04b37d2d02c0a5ae2f4e59326ef6deaff18e0456.zip
spi: rockchip: configure CTRLR1 according to size and data frame
CTRLR1 is number of data frames, when rx only. When data frame is 8 bit, CTRLR1 is len-1. When data frame is 16 bit, CTRLR1 is (len/2)-1. Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'block/blk-timeout.c')
0 files changed, 0 insertions, 0 deletions