Skip to content
Commit 04b37d2d authored by Huibin Hong's avatar Huibin Hong Committed by Mark Brown
Browse files

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: default avatarHuibin Hong <huibin.hong@rock-chips.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6b860e69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment