aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHarshit Mogalapalli <[email protected]>2023-08-29 07:36:35 +0000
committerMark Brown <[email protected]>2023-08-29 10:21:05 +0000
commit9e07f8bfd959d2d09823430eab35d12182446dcf (patch)
tree0fc3e0ecb34cb3df9ef6f4c7358d9a2cb2e3aea8 /tools/perf/scripts/python
parentASoC: cs35l45: Rename DACPCM1 Source control (diff)
downloadkernel-9e07f8bfd959d2d09823430eab35d12182446dcf.tar.gz
kernel-9e07f8bfd959d2d09823430eab35d12182446dcf.zip
ASoC: cs42l43: Fix missing error code in cs42l43_codec_probe()
When clk_get_optional() fails, the error handling code does a 'goto err_pm' with ret = 0, which is resturning success on a failure path. Fix this by assigning the PTR_ERR(priv-mclk) to ret variable. Fixes: fc918cbe874e ("ASoC: cs42l43: Add support for the cs42l43") Signed-off-by: Harshit Mogalapalli <[email protected] Acked-by: Charles Keepax <[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions