summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorWalker Chen <walker.chen@starfivetech.com>2023-06-08 21:57:49 +0800
committerMark Brown <broonie@kernel.org>2023-06-09 10:44:34 +0100
commit3582cf94ff49469ffe78e96014550f7d4e466fbd (patch)
tree53b16a9da8ab239135f13ad03f8289a78cc4f859 /scripts/gdb/linux/utils.py
parent08e6c4bb17087584261c4aff555d32fc1c620b81 (diff)
ASoC: starfive: Fix an error check in jh7110_tdm_clk_reset_get()
Fix the check for devm_reset_control_array_get_exclusive() return value. The devm_reset_control_array_get_exclusive() function may return NULL if it's an optional request. If optional is intended then NULL should not be treated as an error case, but as a special kind of success case. So here the IS_ERR() is used to check better. Signed-off-by: Walker Chen <walker.chen@starfivetech.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230608135750.11041-2-walker.chen@starfivetech.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions