Skip to contentSkip to conversation

smatch stuff in new Cirrus Logic CS42L73 driver

DISCUSSION Dan Carpenter 1 participant 1 message Nov 18, 2011

lore
Share & tools
lore
#0 lore raw

Hi Brian,

Smatch complains about some stuff in sound/soc/codecs/cs42l73.c. I don't know the code well enough to say what was intended.

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). sound/soc/codecs/cs42l73.c +1105 cs42l73_pcm_hw_params(18) info: why not propagate 'mclk_coeff' from cs42l73_get_mclk_coeff() instead of -22?

regards,
dan carpenter