ASoC: Intel: Skylake: Fix to add 32 bit in update FE params
authorJeeja KP <jeeja.kp@intel.com>
Tue, 27 Oct 2015 00:22:46 +0000 (09:22 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2015 10:08:09 +0000 (10:08 +0000)
In case of 32 bit, the FE update params returns error as it falls
thru to default case. This patch adds 32 bit depth handling in
update FE params.

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-topology.c

index 98ccd42b8867ee6c319620ba0e8509a6c33273c1..313a02d8db015657783710cb4e81001ec34a3db1 100644 (file)
@@ -809,6 +809,7 @@ int skl_tplg_update_pipe_params(struct device *dev,
                break;
 
        case SKL_DEPTH_24BIT:
+       case SKL_DEPTH_32BIT:
                format->bit_depth = SKL_DEPTH_32BIT;
                break;