[alsa-devel] [PATCH] ASoC: pcm: fix error handling when try_module_get() fails.

Mark Brown broonie at kernel.org
Wed Apr 10 11:50:10 CEST 2019


On Mon, Apr 08, 2019 at 12:30:25PM -0700, Ranjani Sridharan wrote:
> 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 at linux.intel.com>

You keep on adding blank lines after your Fixes: lines for some reason,
this is unusual and will probably confuse some tooling.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190410/cf380217/attachment-0001.sig>


More information about the Alsa-devel mailing list