aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorChristian Loehle <[email protected]>2024-12-06 19:50:55 +0000
committerMark Brown <[email protected]>2024-12-09 13:06:23 +0000
commit0bb394067a792e7119abc9e0b7158ef19381f456 (patch)
treedc1fd97377e051ff3efb7d9f8e24a790f77915bd /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentspi: aspeed: Fix an error handling path in aspeed_spi_[read|write]_user() (diff)
downloadkernel-0bb394067a792e7119abc9e0b7158ef19381f456.tar.gz
kernel-0bb394067a792e7119abc9e0b7158ef19381f456.zip
spi: rockchip: Fix PM runtime count on no-op cs
The early bail out that caused an out-of-bounds write was removed with commit 5c018e378f91 ("spi: spi-rockchip: Fix out of bounds array access") Unfortunately that caused the PM runtime count to be unbalanced and underflowed on the first call. To fix that reintroduce a no-op check by reading the register directly. Cc: [email protected] Fixes: 5c018e378f91 ("spi: spi-rockchip: Fix out of bounds array access") Signed-off-by: Christian Loehle <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions