[PATCH] sound: maxim_codec: Fix coding mistake
Tom Rini
trini at konsulko.com
Thu Aug 21 19:16:31 CEST 2025
On Tue, 12 Aug 2025 11:26:06 +0100, Andrew Goodbody wrote:
> In maxim_i2c_read the code mistakenly just returned the return value
> from dm_i2c_read leaving the following code unreachable. Instead assign
> ret to be the return value from dm_i2c_read so that the following code
> can operate as expected.
>
> This issue was found by Smatch.
>
> [...]
Applied to u-boot/next, thanks!
[1/1] sound: maxim_codec: Fix coding mistake
commit: 2b751d42c35c36f7e3739d7bc7064f014e1263c7
--
Tom
More information about the U-Boot
mailing list