diff options
author | Harshit Mogalapalli <[email protected]> | 2024-10-23 07:44:11 -0700 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-10-23 16:30:54 +0100 |
commit | 9c2e48ee9aa64f609709eeb120cf728d66d4a145 (patch) | |
tree | 7d38edd48b0cdd5979423c94115f794b83c86f52 /lib/crypto/mpi/mpiutil.c | |
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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Harshit Mogalapalli <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions