commit | 2fef64eec23a0840c97977b16dd8919afaffa876 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime@cerno.tech> | Tue May 25 15:23:47 2021 +0200 |
committer | Maxime Ripard <maxime@cerno.tech> | Thu Jun 10 11:48:56 2021 +0200 |
tree | a68df13178379d6cc406dbfbf145417360f4b91c | |
parent | 7a8e1d44211e16eb394b7b9e0b236ee1503a3ad3 [diff] |
ASoC: hdmi-codec: Add a prepare hook The IEC958 status bit is usually set by the userspace after hw_params has been called, so in order to use whatever is set by the userspace, we need to implement the prepare hook. Let's add it to the hdmi_codec_ops, and mandate that either prepare or hw_params is implemented. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20210525132354.297468-6-maxime@cerno.tech