aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFabrizio Castro <fabrizio.castro.jz@renesas.com>2023-07-15 02:04:01 +0100
committerMark Brown <broonie@kernel.org>2023-07-17 12:41:43 +0100
commit2ed2699f58891c72fcd462129345d09424f986c5 (patch)
treeb90abf28f662dc6f09177d5f52b0d07bc81f2d7b /tools/perf/scripts/python
parentspi: rzv2m-csi: Rework CSI_CKS_MAX definition (diff)
downloadlinux-2ed2699f58891c72fcd462129345d09424f986c5.tar.gz
linux-2ed2699f58891c72fcd462129345d09424f986c5.zip
spi: rzv2m-csi: Leave readl_poll_timeout calls for last
Both rzv2m_csi_sw_reset and rzv2m_csi_start_stop_operation call into readl_poll_timeout upon a certain condition, and return 0 otherwise. Flip the logic to improve readability. Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20230715010407.1751715-5-fabrizio.castro.jz@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions