diff options
author | Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> | 2024-10-23 07:44:11 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-23 16:30:54 +0100 |
commit | 9c2e48ee9aa64f609709eeb120cf728d66d4a145 (patch) | |
tree | 7d38edd48b0cdd5979423c94115f794b83c86f52 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c4cf4a60e1a313cb5c5911e0a7c76e35a6bded65 (diff) |
ASoC: codecs: fix error code in ntp8835_i2c_probe()
When reset_control_deassert() fails it returns valid error codes stored
in return, pass that to dev_err_probe() instead of
PTR_ERR(ntp8835->reset).
Fixes: dc9004ea273a ("ASoC: codecs: Add NeoFidelity NTP8835 codec")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202409281054.DUTb5KxU-lkp@intel.com/
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://patch.msgid.link/20241023144421.1720234-1-harshit.m.mogalapalli@oracle.com
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