ASoC: Intel: Skylake: Fix return of skl_get_queue_index
authorJeeja KP <jeeja.kp@intel.com>
Wed, 3 Feb 2016 12:29:48 +0000 (17:59 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 4 Feb 2016 11:36:14 +0000 (11:36 +0000)
commit9cf3049e21e4e6873aae45df19c11f7243e2f03f
tree226c25d1d57612706bc88e7aab36f9704e245c56
parent9ba8ffef9635c11102bc42d0f2d0a4213de273d5
ASoC: Intel: Skylake: Fix return of skl_get_queue_index

In unbind modules, the skl_get_queue_index() can return error
if the pin is dynamic and module is not bound yet. So instead
of returning error this check should return success as modules
is not yet bound. This will let the module be bound when connected
pipes are enabled and will bind this as well.

So change the return value to 0

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-messages.c
This page took 0.025872 seconds and 5 git commands to generate.