diff options
| author | Andy Shevchenko <[email protected]> | 2023-02-15 13:23:43 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-02-15 16:09:07 +0000 |
| commit | 76f5aaabce492aa6991c28c96bb78b00b05d06c5 (patch) | |
| tree | 0cc844070510de9decc9770351d21acce3902ea7 /tools/perf/scripts/python/libxed.py | |
| parent | ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared (diff) | |
| download | kernel-76f5aaabce492aa6991c28c96bb78b00b05d06c5.tar.gz kernel-76f5aaabce492aa6991c28c96bb78b00b05d06c5.zip | |
ASoC: soc-ac97: Return correct error codes
With the switching to dev_err_probe(), during the conversion
of GPIO calls, the return code is passed is a paratemer to it.
At the same time a copy'n'paste mistake was made, so the wrong
variable has been taken for the error reporting. Fix this.
Fixes: 3ee0d39c50dc ("ASoC: soc-ac97: Convert to agnostic GPIO API")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
