diff options
author | Dan Carpenter <[email protected]> | 2023-06-19 12:46:48 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-06-19 12:59:34 +0100 |
commit | 02474880e8fdd8533f21da4264a7ebfce8196be7 (patch) | |
tree | 7aefa0b12e4f6328850fcfb13d03942647a2c0ed /lib/mpi/mpi-sub-ui.c | |
parent | 1650e8a8818d516219b2c0cbc203f53cc6cd77a0 (diff) |
ASoC: max98388: fix error code in probe()
This seems like a copy and paste bug. Return the correct variable.
It should be "ret" instead of PTR_ERR(max98388->regmap).
Fixes: 6a8e1d46f062 ("ASoC: max98388: add amplifier driver")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions