commit | 70802487bb9145a4f8b26f5a11d0e7f83c25100a | [log] [tgz] |
---|---|---|
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | Mon Apr 08 12:30:25 2019 -0700 |
committer | Mark Brown <broonie@kernel.org> | Wed Apr 10 12:28:00 2019 +0100 |
tree | f43925307a15d57372c82db12db1dbb24fd6caf0 | |
parent | e37c2deafe7058cf7989c4c47bbf1140cc867d89 [diff] |
ASoC: pcm: fix error handling when try_module_get() fails. Handle error before returning when try_module_get() fails to prevent inconsistent mutex lock/unlock. Fixes: 52034add7 (ASoC: pcm: update module refcount if module_get_upon_open is set) Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>