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

srinivas.kandagatla at linaro.org srinivas.kandagatla at linaro.org
Tue Aug 1 00:49:42 CEST 2017


From: Srinivas Kandagatla <srinivas.kandagatla at linaro.org>

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



More information about the Alsa-devel mailing list