-
由 David Lechner 提交于
commit cbaa62e0094a840fecc853910e0c0454529cec03 upstream This adds a default software implementation for the SPI_CS_WORD flag for controllers that don't have such a feature. The SPI_CS_WORD flag indicates that the CS line should be toggled between each word sent, not just between each transfer. The implementation works by using existing functions to split transfers into one-word-sized transfers and sets the cs_change bit for each of the new transfers. Signed-off-by: NDavid Lechner <david@lechnology.com> Acked-by: NJonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: NMark Brown <broonie@kernel.org> Signed-off-by: NZou Cao <zoucao@alibaba.linux.com> Reviewed-by: NBaoyou Xie <xie.baoyou@linux.alibaba.com>
03a6abd5