Loading
!4654 hisi_ptt: Move type check to the beginning of hisi_ptt_pmu_event_init()
Merge Pull Request from: @lujunhuaHW 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. bugzilla: https://gitee.com/openeuler/kernel/issues/I92NZO Link:https://gitee.com/openeuler/kernel/pulls/4654 Signed-off-by:Zheng Zengkai <zhengzengkai@huawei.com>