aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2021-10-25 16:11:11 +0200
committerMaxime Ripard <[email protected]>2021-11-05 12:53:28 +0100
commita64ff88cb5eb0b9a6855a24ff326e948931e3a8e (patch)
tree58b1bd490f6af3d3f27424ae759219e32dd199a9 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent633be8c3c0c5e0cf176ce904083a4728ae8e4025 (diff)
drm/vc4: hdmi: Check the device state in prepare()
Even though we already check that the encoder->crtc pointer is there during in startup(), which is part of the open() path in ASoC, nothing guarantees that our encoder state won't change between the time when we open the device and the time we prepare it. Move the sanity checks we do in startup() to a helper and call it from prepare(). Link: https://lore.kernel.org/r/[email protected] Fixes: 91e99e113929 ("drm/vc4: hdmi: Register HDMI codec") Acked-by: Daniel Vetter <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions