]> 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)
commit7f9143ef626f2f2ee5216bab3960e09e78120d61
treec4450c1933da881ae3fb092867b5641f1ad9142d
parent347c27814f80f5bc1eb97c3c7a55108cc777dc58
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