Re: [1/2] ASoC: codecs: wcd938x: fix mux error handling

From: Markus Elfring
Date: Tue Apr 15 2025 - 09:59:25 EST


>> May the error code assignment statement be omitted here together with extra curly brackets
>> (as such a case is demonstrated in a subsequent if branch)?
>
> I considered that, but I prefer using a temporary variable as it is more readable.
Would your coding style preferences be inconsistent here?

Regards,
Markus