]> git.baikalelectronics.ru Git - kernel.git/commit
spi: modify set_cs_timing parameter
authorMason Zhang <Mason.Zhang@mediatek.com>
Wed, 4 Aug 2021 13:37:47 +0000 (21:37 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 5 Aug 2021 15:42:54 +0000 (16:42 +0100)
commit676c37b59d1747bb568b92fdbaa66a065bed87ad
treeb4f5ebc74eb146ac2670d07dd92dc60d8d613cf8
parentfad772116f95f99293ea38e3b44f74dac3cfa997
spi: modify set_cs_timing parameter

This patch modified set_cs_timing parameter, no need pass in spi_delay
to set_cs_timing callback.
By the way, we modified the mediatek and tegra114 spi driver to fix build err.
In mediatek spi driver, We have support set absolute time not clk_count,
and call this function in prepare_message not user's API.

Signed-off-by: Mason Zhang <Mason.Zhang@mediatek.com>
Link: https://lore.kernel.org/r/20210804133746.6742-1-Mason.Zhang@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mt65xx.c
drivers/spi/spi-tegra114.c
include/linux/spi/spi.h