ASoC: Intel: Skylake: Use the sig_bits to define dai bps capability
authorJeeja KP <jeeja.kp@intel.com>
Fri, 24 Mar 2017 17:40:25 +0000 (23:10 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 29 Mar 2017 11:53:06 +0000 (12:53 +0100)
commit7f975a385b9313a03c13fb0be0a129c626f9a54e
tree1697ad56ba42657de76d8fa85906d0e5ce814acb
parent240a07dbc30db6e728625e4e0eb736bbeefed6e6
ASoC: Intel: Skylake: Use the sig_bits to define dai bps capability

For calculating the HDA DMA format, use the max_bps supported by the
DAI caps instead of fixing it to 32/24. For host DMA the Max bps support
is 32, but in case of link DMA, this depends on the codec capability.
So use the sig_bits to define the bps supported by dai.

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/intel/skylake/skl-pcm.c
sound/soc/intel/skylake/skl-topology.c
sound/soc/intel/skylake/skl-topology.h