summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-04-10 11:49:25 +0200
committerMark Brown <broonie@kernel.org>2026-04-10 13:45:39 +0100
commit45daacbead8a009844bd5dba6cfa731332184d17 (patch)
treed2929181ef4807affd808259b3815ebe8500631a /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parent81c9cdb110ef4a2dd653286a06ce0ae9ac05aac1 (diff)
spi: s3c64xx: fix NULL-deref on driver unbind
A change moving DMA channel allocation from probe() back to s3c64xx_spi_prepare_transfer() failed to remove the corresponding deallocation from remove(). Drop the bogus DMA channel release from remove() to avoid triggering a NULL-pointer dereference on driver unbind. This issue was flagged by Sashiko when reviewing a controller deregistration fix. Fixes: f52b03c70744 ("spi: s3c64xx: requests spi-dma channel only during data transfer") Cc: stable@vger.kernel.org # 6.0 Cc: Adithya K V <adithya.kv@samsung.com> Link: https://sashiko.dev/#/patchset/20260410081757.503099-1-johan%40kernel.org Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260410094925.518343-1-johan@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions