Loading
!11335 Revert SPI bugfixs
Merge Pull Request from: @lujunhuaHW 1、The SPI driver debugfs provides the datain and dataout register dump functions. According to the code review, it is suspected that the SPI FIFO is read during the execution. If the SPI transfer is in progress at the same time, the data transfer in the FIFO will be affected. You are advised not to provide the dump function for this register. 2、Code review shows that the SPI driver may divide by zero. The ratio of the user input speed_hz to the maximum rate configured in the BIOS must be limited to avoid the problem of dividing by zero or inversion, and the rate must be within the recommended rate range of the FS. Link:https://gitee.com/openeuler/kernel/pulls/11335 Signed-off-by:Zhang Peng <zhangpeng362@huawei.com>