]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 1 Nov 2017 07:16:58 +0000 (07:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:07:30 +0000 (10:07 +0100)
commit019433db872f9032cabd2a4a0fbd3df2bb14f539
tree41c009ec4b6b8d5124e5e04c4bedb462de6ecdb0
parentcf16dac8bd9868cf22203ac498e8e997ad7b0ca1
ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod

[ Upstream commit 21781e87881f9c420871b1d1f3f29d4cd7bffb10 ]

SSI parent mod might be NULL. ssi_parent_mod() needs to care
about it. Otherwise, it uses negative shift.
This patch fixes it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/sh/rcar/ssi.c