commit | aee87e9c8fc0efbe933f0a8371990a0754ac65fd | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime@cerno.tech> | Tue May 25 15:23:47 2021 +0200 |
committer | Maxime Ripard <maxime@cerno.tech> | Tue Jun 08 17:06:00 2021 +0200 |
tree | a68df13178379d6cc406dbfbf145417360f4b91c | |
parent | 30eb14e7f81a7a24edc4b59762ebf7073bf780da [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