Skip to content
Unverified Commit 376be51c authored by 蒋家盛's avatar 蒋家盛 Committed by Mark Brown
Browse files

ASoC: rsnd: Add check for rsnd_mod_power_on

As rsnd_mod_power_on() can return negative numbers,
it should be better to check the return value and
deal with the exception.

Fixes: e7d850dd

 ("ASoC: rsnd: use mod base common method on SSI-parent")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Acked-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20220902013030.3691266-1-jiasheng@iscas.ac.cn
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 55e2bd9c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment