ASoC: rsnd: precedence error in rsnd_ssiu_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Jan 2016 09:38:41 +0000 (12:38 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 6 Jan 2016 10:38:39 +0000 (10:38 +0000)
commit8012c983dd0cea8f5be5a02ca75fd8d437227a10
tree4e4d7b7129c27b317e6f456c4b3d860298e8c47c
parente5d9cfc6f5fe56caa44cefbc7ef4531c480d901d
ASoC: rsnd: precedence error in rsnd_ssiu_init()

The bitwise OR has higher precedence than ?: so the val2 was always set
to 0x2.

Fixes: b4c83b171557 ('ASoC: rsnd: add Multi channel support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssiu.c