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 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | c84dda3751e945a67d71cbe3af4474aad24a5794 (diff) |
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 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions