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)
commit66d6bbc6c0beb04c1dfeb0107d4d828f3e1959ee
treec4450c1933da881ae3fb092867b5641f1ad9142d
parent7f975a385b9313a03c13fb0be0a129c626f9a54e
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