[alsa-devel] [PATCH] ASoC: tpa6130a2: unmerge power enable error path from power disable path

Mark Brown broonie at kernel.org
Mon Sep 26 18:08:31 CEST 2016


On Mon, Sep 26, 2016 at 01:35:50PM +0300, Nikita Yushchenko wrote:

> I doubt that copying 7 lines into error path is better than having a tiny
> logic with return values, but still here it is.

Consider what happens if someone wants to change the code... 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160926/518cd049/attachment.sig>


More information about the Alsa-devel mailing list