diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2019-04-08 21:30:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-10 13:28:00 +0200 |
commit | 70802487bb9145a4f8b26f5a11d0e7f83c25100a (patch) | |
tree | f43925307a15d57372c82db12db1dbb24fd6caf0 /net/hsr/hsr_netlink.h | |
parent | ASoC: stm32: sai: fix master clock management (diff) | |
download | linux-70802487bb9145a4f8b26f5a11d0e7f83c25100a.tar.xz linux-70802487bb9145a4f8b26f5a11d0e7f83c25100a.zip |
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>
Diffstat (limited to 'net/hsr/hsr_netlink.h')
0 files changed, 0 insertions, 0 deletions