ASoC: Intel: Skylake: Fix bit depth when querying the NHLT blob
authorJeeja KP <jeeja.kp@intel.com>
Tue, 27 Oct 2015 00:22:50 +0000 (09:22 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2015 10:08:09 +0000 (10:08 +0000)
commit83b50246d3f193ce7f0546786097ee673c359eb2
tree4ba2c15c630c13fefa923357d932dd2f52055e95
parent4f7457089df2984aeee59ec01525aa9917e889e7
ASoC: Intel: Skylake: Fix bit depth when querying the NHLT blob

Bps calculation is not correct as this needs to be based on valid
bit depth.  16 bit fmt bit depth is 16 bit and for 24 and 32 bit
as it is container size This patch fixes the bps.

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