[lvc-project] [PATCH] ASoC: simple-card-utils: Fix error handling in simple_util_init_jack()
Mark Brown
broonie at kernel.org
Wed Jun 19 18:06:36 MSK 2024
On Wed, Jun 19, 2024 at 05:24:32PM +0300, Igor Artemiev wrote:
> Currently, if snd_soc_card_jack_new_pins() or snd_soc_jack_add_gpios()
> fails, the function continues execution without handling the error.
> This can lead to unexpected behavior and potential crashes.
This just looks like some static checker thing, I'm just seeing a bald
assertation about issues and crashes with no analysis about what those
might be. TBH I'd expect this to make things worse not better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://linuxtesting.org/pipermail/lvc-project/attachments/20240619/a00f4e58/attachment.pgp>
More information about the lvc-project
mailing list