diff options
author | Aaron Kling <webgeek1234@gmail.com> | 2025-04-23 21:03:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-09 09:50:32 +0200 |
commit | da77a7594fe508333e10c68504c283802abcd6b1 (patch) | |
tree | f9a4944280f86e446cef09db89a6f39fbdd1d3fb /kernel/trace/trace_output.c | |
parent | 20a28e0ece5ada1df738dd3c5025d2e574096643 (diff) |
spi: tegra114: Don't fail set_cs_timing when delays are zero
commit 4426e6b4ecf632bb75d973051e1179b8bfac2320 upstream.
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: 04e6bb0d6bb1 ("spi: modify set_cs_timing parameter")
Cc: stable@vger.kernel.org
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Link: https://patch.msgid.link/20250423-spi-tegra114-v1-1-2d608bcc12f9@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_output.c')
0 files changed, 0 insertions, 0 deletions