diff options
author | Maxime Ripard <maxime@cerno.tech> | 2021-05-25 15:23:46 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-06-10 11:48:49 +0200 |
commit | 7a8e1d44211e16eb394b7b9e0b236ee1503a3ad3 (patch) | |
tree | 1957fb65cc798dfd720d4cb9a6d0895e19a4f00c /include/sound | |
parent | ASoC: hdmi-codec: Rework to support more controls (diff) | |
download | linux-7a8e1d44211e16eb394b7b9e0b236ee1503a3ad3.tar.xz linux-7a8e1d44211e16eb394b7b9e0b236ee1503a3ad3.zip |
ASoC: hdmi-codec: Add iec958 controls
The IEC958 status bits can be exposed and modified by the userspace
through dedicated ALSA controls.
This patch implements those controls for the hdmi-codec driver. It
relies on a default value being setup at probe time that can later be
overridden by the control put.
The hw_params callback is then called with a buffer filled with the
proper bits for the current parameters being passed on so the underlying
driver can just reuse those bits as is.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210525132354.297468-5-maxime@cerno.tech
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions