aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorCarlos Song <[email protected]>2024-04-03 08:40:29 +0000
committerMark Brown <[email protected]>2024-04-03 10:04:57 +0000
commitbff892acf79cec531da6cb21c50980a584ce1476 (patch)
treeced6451d87055d983d09eb31599cbb9650914969 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentspi: s3c64xx: Use DMA mode from fifo size (diff)
downloadkernel-bff892acf79cec531da6cb21c50980a584ce1476.tar.gz
kernel-bff892acf79cec531da6cb21c50980a584ce1476.zip
spi: spi-fsl-lpspi: remove redundant spi_controller_put call
devm_spi_alloc_controller will allocate an SPI controller and automatically release a reference on it when dev is unbound from its driver. It doesn't need to call spi_controller_put explicitly to put the reference when lpspi driver failed initialization. Fixes: 2ae0ab0143fc ("spi: lpspi: Avoid potential use-after-free in probe()") Signed-off-by: Carlos Song <[email protected]> Reviewed-by: Alexander Sverdlin <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions