aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorVinod Koul <[email protected]>2020-08-26 22:03:38 +0530
committerMark Brown <[email protected]>2020-08-26 18:58:41 +0100
commitbe1a4b2c56db860a220c6f74d461188e5733264a (patch)
tree903a2f53addd3719563c80090e865ea8786378bc /tools/perf/util/trace-event-scripting.c
parent344850d93c098e1b17e6f89d5e436893e9762ef3 (diff)
ASoC: rt711: 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: 320b8b0d13b8 ("ASoC: rt711: add rt711 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