[PATCH v2 0/2] ASoC: hdmi-codec: Allow driver to restrict sample size
From: srinivas . kandagatla
Date: Mon Jul 31 2017 - 18:50:09 EST
From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
This patch adds option to allow hdmi-codec drivers to restrict
the audio sample size based on the values that are suppored in hardware.
First patch is adding that formats option to hdmi_codec_pdata and
second patch is a fix in adv7511 codec driver which only supports
16 and 24 bit samples.
Changes since v1:
- Added Review by Jyri
- Updated comment in code suggested by Jyri
Srinivas Kandagatla (2):
ASoC: hdmi-codec: Allow drivers to restrict sample sizes.
drm/bridge: adv7511: restrict audio sample sizes
drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 2 ++
include/sound/hdmi-codec.h | 1 +
sound/soc/codecs/hdmi-codec.c | 8 +++++---
3 files changed, 8 insertions(+), 3 deletions(-)
--
2.11.0