diff options
author | Vinod Koul <[email protected]> | 2020-08-26 22:03:39 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-08-26 18:58:42 +0100 |
commit | 282eb0b52e3f0399ee48a4cad0d9ffec840b0164 (patch) | |
tree | 31f0adf2b323728c0aaa88afc84b3920ee428cfc /tools/perf/util/trace-event-scripting.c | |
parent | be1a4b2c56db860a220c6f74d461188e5733264a (diff) |
ASoC: rt715: Fix return check for devm_regmap_init_sdw()
devm_regmap_init_sdw() returns a valid pointer on success or ERR_PTR on
failure which should be checked with IS_ERR. Also use PTR_ERR for
returning error codes.
Reported-by: Takashi Iwai <[email protected]>
Fixes: d1ede0641b05 ("ASoC: rt715: add RT715 codec driver")
Signed-off-by: Vinod Koul <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions