OSDN Git Service

asoc: msm-compress: Replace goto with return in case of invalid value
authorJhansi Konathala <cjkonat@codeaurora.org>
Fri, 29 Nov 2019 13:03:49 +0000 (18:33 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Sat, 25 Jan 2020 11:12:25 +0000 (03:12 -0800)
commitcfa4bd65ee7205223896d257590dbf05a3fdd443
tree7123e3f0c90b7c00f481b0ac74bf89472dfe9340
parenta72ae6ee0351e2b0cea6eae9b7a477fbe9597211
asoc: msm-compress: Replace goto with return in case of invalid value

In case of invalid values in _put() callback return directly to avoid
deadlock issue with mutex unlocking in goto label.

Change-Id: Ib0623e26dd83b96cd6ec315f515098b8ea0b2dd2
Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
Signed-off-by: Jhansi Konathala <cjkonat@codeaurora.org>
sound/soc/msm/qdsp6v2/msm-compress-q6-v2.c