diff options
| author | Christian Loehle <[email protected]> | 2024-12-06 19:50:55 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-12-09 13:06:23 +0000 |
| commit | 0bb394067a792e7119abc9e0b7158ef19381f456 (patch) | |
| tree | dc1fd97377e051ff3efb7d9f8e24a790f77915bd /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | spi: aspeed: Fix an error handling path in aspeed_spi_[read|write]_user() (diff) | |
| download | kernel-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
