ASoC: Intel: Skylake: Return negative error code
authorGuneshwor Singh <guneshwor.o.singh@intel.com>
Thu, 27 Apr 2017 06:51:22 +0000 (12:21 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 30 Apr 2017 12:50:28 +0000 (21:50 +0900)
commit081dc8ab46df85382658822e951ea79be87382b0
treede4eb6717f7301fcd9a296358450dbe7f1ea3571
parent9ed4aefe6f5f7e1dfe6abe8b15cfc8c48963b6c0
ASoC: Intel: Skylake: Return negative error code

skl_tplg_add_pipe() returned EEXIST instead of negative EEXIST, so fix that
and handle the return value as well.

Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c