diff options
author | 2022-07-12 17:42:12 +0300 | |
---|---|---|
committer | 2022-07-13 13:48:53 +0100 | |
commit | 73acfba792b06156b7c805162fcd89fdb71646f9 (patch) | |
tree | 1ca63377fc23787a06bc567fbc512f50c341d3b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: SOF: Intel: hda: Correct Firmware State Register use (diff) | |
download | linux-dev-73acfba792b06156b7c805162fcd89fdb71646f9.tar.xz linux-dev-73acfba792b06156b7c805162fcd89fdb71646f9.zip |
ASoC: amd: Fix error pointer dereference
The "gpio_pa" pointer is an error pointer, there is no need to try
put it. Calling gpiod_put() on it will lead to an error pointer
dereference.
Fixes: 02527c3f2300 ("ASoC: amd: add Machine driver for Jadeite platform")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/Ys2IRPHWGIwuVs21@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions