ASoC: rsnd: ssiu: correct shift bit for ssiu9
authorJiada Wang <jiada_wang@mentor.com>
Mon, 4 Feb 2019 13:41:05 +0000 (22:41 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 7 Feb 2019 12:04:44 +0000 (12:04 +0000)
commit76379dfbfd7c8fd7dd29eea3f828cf85c884829e
tree027841cb329719ae71d85062c56e3a50429d4e8c
parentd9111d36024de07784f2e1ba2ccf70b16035f378
ASoC: rsnd: ssiu: correct shift bit for ssiu9

Currently "0xf << 36" is used to
clear SSIU-9 internal buffer state, which overflows 32-bit value
according to user reference manual, it is always bit4 ~ bit7
of SSI_SYS_STATUS[1,3,5,7] registers indicate
SSIU-9's buffer state, so "0xf << 4" should be used.

This patch fix incorrect shifting issue in SSIU-9 case

Fixes: commit b7169ddea2f2 ("ASoC: rsnd: remove RSND_REG_ from rsnd_reg")
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssiu.c