Commit 66dc11e9 authored by Aaron Kling's avatar Aaron Kling Committed by Greg Kroah-Hartman
Browse files

spi: tegra114: Don't fail set_cs_timing when delays are zero



[ Upstream commit 4426e6b4 ]

The original code would skip null delay pointers, but when the pointers
were converted to point within the spi_device struct, the check was not
updated to skip delays of zero. Hence all spi devices that didn't set
delays would fail to probe.

Fixes: 04e6bb0d ("spi: modify set_cs_timing parameter")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarAaron Kling <webgeek1234@gmail.com>
Link: https://patch.msgid.link/20250423-spi-tegra114-v1-1-2d608bcc12f9@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 45eef6be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment