ASoC: Intel: Skylake: Fix return for pm_runtime_get_sync()
authorJeeja KP <jeeja.kp@intel.com>
Thu, 22 Oct 2015 17:52:34 +0000 (23:22 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 23 Oct 2015 16:31:34 +0000 (01:31 +0900)
commit9270b7b92615324ecda2b3fa0be98b4ab6c3e361
tree9d1afbef853e6575d504652100c95d1eb339e28e
parent4901aa065bced55be5ae55b58fc032bfc727fdda
ASoC: Intel: Skylake: Fix return for pm_runtime_get_sync()

pm_runtime_get_sync() will return a negative value in case of
error and can return postive value for success.  The return check
for pm_runtime_get_sync() must be less than 0, so fix it

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