summaryrefslogtreecommitdiff
path: root/fs/udf/dir.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2021-10-25 17:11:11 +0300
committerMaxime Ripard <maxime@cerno.tech>2021-11-05 14:53:28 +0300
commita64ff88cb5eb0b9a6855a24ff326e948931e3a8e (patch)
tree58b1bd490f6af3d3f27424ae759219e32dd199a9 /fs/udf/dir.c
parent633be8c3c0c5e0cf176ce904083a4728ae8e4025 (diff)
downloadlinux-a64ff88cb5eb0b9a6855a24ff326e948931e3a8e.tar.xz
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/20211025141113.702757-8-maxime@cerno.tech Fixes: 91e99e113929 ("drm/vc4: hdmi: Register HDMI codec") Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'fs/udf/dir.c')
0 files changed, 0 insertions, 0 deletions