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.
Attachment:
signature.asc
Description: PGP signature
- References:
- Prev by Date: Re: [PATCH v6 12/16] ASoC: codecs: add MT6357 support
- Next by Date: Re: [PATCH v4 2/2] ASoC: cs530x: Support for cs530x ADCs
- Previous by thread: Re: [lvc-project] [PATCH] ASoC: simple-card-utils: Fix error handling in simple_util_init_jack()
- Next by thread: [PATCH v6 00/16] Add audio support for the MediaTek Genio 350-evk board
- Index(es):