ASoC: Intel: Skylake: Fix the NHLT rate size
authorJeeja KP <jeeja.kp@intel.com>
Sat, 1 Aug 2015 14:10:39 +0000 (19:40 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 7 Aug 2015 13:26:01 +0000 (14:26 +0100)
Sampling rate type needs to be u32 instead of u8, nhlt wav format
description expected u32 for rate, passing u8 will fetch NULL
config in skl_get_ep_blob().

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

index 5c0895eaa10aa5cafb68ff40c9d2341818e5616e..a14009b47b29130ae69cb9756a131cc89807685f 100644 (file)
@@ -56,7 +56,7 @@ void skl_nhlt_free(void __iomem *addr)
 
 static struct nhlt_specific_cfg *skl_get_specific_cfg(
                struct device *dev, struct nhlt_fmt *fmt,
-               u8 no_ch, u8 rate, u16 bps)
+               u8 no_ch, u32 rate, u16 bps)
 {
        struct nhlt_specific_cfg *sp_config;
        struct wav_fmt *wfmt;