Revert "spi: mediatek: add set_cs_timing support"
requested to merge mediatek/aiot/team-mtk-aiot-sw-ss2/linux-20211109:andy/revert-spi-cs-timing-patch into mtk-v5.15-dev
This reverts commit
- 9f6e7e8d spi: mediatek: add set_cs_timing support
- 04e6bb0d spi: modify set_cs_timing parameter
- 5c842e51 spi: mediatek: fix build warnning in set cs timing
- 3672bb82 spi: mediatek: skip delays if they are 0
The default cs_timing calculation has been removed, and the cs_timing setting API has been removed as well.
Therefore, there's no way to set cs_timing now.
This causes SPI to lose data. So we temporarily revert this patch, and add it back when SPI driver owner has new update for cs_timing.
BUG: AIOT-1098
Edited by Andy Hsieh