summaryrefslogtreecommitdiff
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorAaron Kling <webgeek1234@gmail.com>2025-05-06 13:36:59 -0500
committerMark Brown <broonie@kernel.org>2025-05-08 10:32:40 +0900
commite979a7c79fbc706f6dac913af379ef4caa04d3d5 (patch)
tree761bb04d657c055342fbb35498fe9f6239169b18 /lib/spinlock_debug.c
parenta73fa3690a1f3014d6677e368dce4e70767a6ba2 (diff)
spi: tegra114: Use value to check for invalid delays
A delay unit of 0 is a valid entry, thus it is not valid to check for unused delays. Instead, check the value field; if that is zero, the given delay is unset. Fixes: 4426e6b4ecf6 ("spi: tegra114: Don't fail set_cs_timing when delays are zero") Cc: stable@vger.kernel.org Signed-off-by: Aaron Kling <webgeek1234@gmail.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20250506-spi-tegra114-fixup-v1-1-136dc2f732f3@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions