]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: tegra210-quad: modify chip select (CS) deactivation
authorVishwaroop A <va@nvidia.com>
Wed, 16 Apr 2025 11:06:03 +0000 (11:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:07 +0000 (11:07 +0100)
commitac009b40ace4c6ec00d50cf2be65cda257ffb06e
tree1add3c77c03293f886948ce5175be1d319deb15f
parentdcacaba340276d6d02d2c8448017387876d339c9
spi: tegra210-quad: modify chip select (CS) deactivation

[ Upstream commit d8966b65413390d1b5b706886987caac05fbe024 ]

Modify the chip select (CS) deactivation and inter-transfer delay
execution only during the DATA_TRANSFER phase when the cs_change
flag is not set. This ensures proper CS handling and timing between
transfers while eliminating redundant operations.

Fixes: 1b8342cc4a38 ("spi: tegra210-quad: combined sequence mode")
Signed-off-by: Vishwaroop A <va@nvidia.com>
Link: https://patch.msgid.link/20250416110606.2737315-4-va@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-tegra210-quad.c