]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: hdac_hdmi: Update sig_bits based on converter capability
authorJeeja KP <jeeja.kp@intel.com>
Fri, 24 Mar 2017 17:40:26 +0000 (23:10 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 29 Mar 2017 11:53:21 +0000 (12:53 +0100)
commit80d784f5ff11de024d0ecd666e88bbf8236260e0
treec4450c1933da881ae3fb092867b5641f1ad9142d
parent275344d6b916b2de4dbaf476ed73fc97d462dff8
ASoC: hdac_hdmi: Update sig_bits based on converter capability

When creating the codec dai, use sig_bits to update the max bps based
on the codec capability. So both the link DMA and codec format will be
calculated based on DAI sig_bits.

So update the sig_bits with converter capability and use the sig_bits
for HDA format calculation.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c