summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristian Loehle <christian.loehle@arm.com>2024-12-06 22:50:55 +0300
committerMark Brown <broonie@kernel.org>2024-12-09 16:06:23 +0300
commit0bb394067a792e7119abc9e0b7158ef19381f456 (patch)
treedc1fd97377e051ff3efb7d9f8e24a790f77915bd /tools/perf/scripts/python/export-to-sqlite.py
parentc84dda3751e945a67d71cbe3af4474aad24a5794 (diff)
downloadlinux-0bb394067a792e7119abc9e0b7158ef19381f456.tar.xz
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: stable@vger.kernel.org Fixes: 5c018e378f91 ("spi: spi-rockchip: Fix out of bounds array access") Signed-off-by: Christian Loehle <christian.loehle@arm.com> Link: https://patch.msgid.link/1f2b3af4-2b7a-4ac8-ab95-c80120ebf44c@arm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions