]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit347c27814f80f5bc1eb97c3c7a55108cc777dc58
tree1697ad56ba42657de76d8fa85906d0e5ce814acb
parentd274e6a91a77593d0ae20018f7ebebcc702f867e
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