[PATCH 0/2] ASoC: hdmi-codec: Allow driver to restrict sample size

From: srinivas . kandagatla
Date: Mon Jul 17 2017 - 10:02:40 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.

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 | 3 +++
3 files changed, 6 insertions(+)

--
2.11.0