diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-09-02 09:30:30 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-21 12:38:26 +0200 |
commit | 45c6f0654468a5dcb9a4f4c62e307833363d0966 (patch) | |
tree | f74718382fece49a16a175ea6310c5164c731249 /samples/kdb | |
parent | c62af469e5d18b184c1e653a9a8a960fc5241a99 (diff) | |
download | linux-stable-45c6f0654468a5dcb9a4f4c62e307833363d0966.tar.gz linux-stable-45c6f0654468a5dcb9a4f4c62e307833363d0966.tar.bz2 linux-stable-45c6f0654468a5dcb9a4f4c62e307833363d0966.zip |
ASoC: rsnd: Add check for rsnd_mod_power_on
[ Upstream commit 376be51caf8871419bbcbb755e1e615d30dc3153 ]
As rsnd_mod_power_on() can return negative numbers,
it should be better to check the return value and
deal with the exception.
Fixes: e7d850dd10f4 ("ASoC: rsnd: use mod base common method on SSI-parent")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20220902013030.3691266-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions