aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/lock_debug.c
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2025-04-01 22:42:38 +0000
committerMark Brown <[email protected]>2025-04-01 23:04:40 +0000
commitd6691010523fe1016f482a1e1defcc6289eeea48 (patch)
tree019499be67fe7ea70e5013e07d4389d976eff83e /net/core/lock_debug.c
parentspi: cadence-qspi: revert "Improve spi memory performance" (diff)
downloadkernel-d6691010523fe1016f482a1e1defcc6289eeea48.tar.gz
kernel-d6691010523fe1016f482a1e1defcc6289eeea48.zip
spi: bcm2835: Do not call gpiod_put() on invalid descriptor
If we are unable to lookup the chip-select GPIO, the error path will call bcm2835_spi_cleanup() which unconditionally calls gpiod_put() on the cs->gpio variable which we just determined was invalid. Fixes: 21f252cd29f0 ("spi: bcm2835: reduce the abuse of the GPIO API") Signed-off-by: Florian Fainelli <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions