diff options
| author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-03-04 05:38:21 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2022-03-07 16:14:51 +0300 |
| commit | db0350da8084ad549bca16cc0486c11cc70a1f9b (patch) | |
| tree | e609343e979b6dd1c40d481fd85a8bf02ca120c0 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | f590797fa3c1bccdd19e55441592a23b46aef449 (diff) | |
| download | linux-db0350da8084ad549bca16cc0486c11cc70a1f9b.tar.xz | |
ASoC: wm8350: Handle error for wm8350_register_irq
As the potential failure of the wm8350_register_irq(),
it should be better to check it and return error if fails.
Also, use 'free_' in order to avoid the same code.
Fixes: a6ba2b2dabb5 ("ASoC: Implement WM8350 headphone jack detection")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220304023821.391936-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
