ASoC: cs42l73: Make inv and format to be unsigned int
authorAxel Lin <axel.lin@gmail.com>
Fri, 18 Nov 2011 09:16:22 +0000 (17:16 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 22 Nov 2011 13:02:17 +0000 (13:02 +0000)
commitdbb1f516375b3019373f2177b46e334b47a6d8bf
treebc0a204519024645c86047ba889fa6837af1cbc3
parent717b8fae3873b4c83dda2274e8190f538c442000
ASoC: cs42l73: Make inv and format to be unsigned int

Fix below smatch warning:

sound/soc/codecs/cs42l73.c +1030 cs42l73_set_dai_fmt(53) error: inv is never equal to 1024 (wrong type 0 - 255).
sound/soc/codecs/cs42l73.c +1032 cs42l73_set_dai_fmt(55) error: inv is never equal to 768 (wrong type 0 - 255).
sound/soc/codecs/cs42l73.c +1036 cs42l73_set_dai_fmt(59) error: inv is never equal to 1024 (wrong type 0 - 255).

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cs42l73.c