summaryrefslogtreecommitdiff
path: root/kernel/time/tick-internal.h
diff options
context:
space:
mode:
authorDevyn Liu <liudingyuan@huawei.com>2024-02-01 14:13:44 +0800
committerAndi Shyti <andi.shyti@kernel.org>2024-02-08 09:34:18 +0100
commit5c015726a266b33227bc91a6926b3e93de834117 (patch)
tree6fff2318b6fb5714bca2d76ce0635678688cffbe /kernel/time/tick-internal.h
parent7a7fd335f821f93f9327f581e1677361c48a0dea (diff)
i2c: hisi: Optimized the value setting of maxwrite limit to fifo depth - 1
The driver finishes a write cycle by read the fifo tx full status or write limit decrease to 0. The driver starts to write data to the FIFO after the I2C FIFO almost empty interrupt is reported. The threshold for FIFO almost empty interrupt is that the amount of data in the FIFO is less than or equal to 1. Reduce write maxwrite to the fifo depth - aempty interrupt threshold. Limiting the number of data to be written at a time to remaining fifo capacity. Signed-off-by: Devyn Liu <liudingyuan@huawei.com> Reviewed-by: Yicong Yang <yangyicong@hisilicon.com> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'kernel/time/tick-internal.h')
0 files changed, 0 insertions, 0 deletions