diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-16 13:36:01 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-16 22:09:28 +0100 |
| commit | bb345be9d428a62cc2038cf0db3b5f01784839eb (patch) | |
| tree | 9ee24604961fd864b952fe0bcc030075739b8059 /tools/lib/python | |
| parent | b2c5435300c815373a2112522eb38857313b5b96 (diff) | |
ASoC: codecs: pcm6240: Return 0 explicitly on success
The return value of pcmdev_dev_read() is already checked, and
errors are returned immediately. Therefore, the remaining paths
are successful paths and should return 0 explicitly instead of
returning ret.
Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/all/aqfHiX3pE-0BiCt9@stanley.mountain/
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260916063601.23625-1-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
