drm/vc4: hdmi: Move audio structure offset checks
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:39:16 +0000 (19:39 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:10 +0000 (10:46 +0200)
commit0c9d0ddd9cf4b43f8b3faf752c5a1aaa665ed099
tree5f40eeafd34748b2a08fe9e341883a900ad0e60a
parentaf8a3b125b682c4c582bb25342af4759d9b4a1e5
drm/vc4: hdmi: Move audio structure offset checks

The HDMI driver unbind hook doesn't have any ALSA-related code anymore, so
let's move the ALSA sanity checks and comments we have to some other part
of the driver dedicated to ALSA.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-47-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c