ASoC: rt5640: Fix ignored error checks
authorTakashi Iwai <tiwai@suse.de>
Wed, 30 Oct 2013 07:35:06 +0000 (08:35 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 30 Oct 2013 17:11:25 +0000 (10:11 -0700)
commit5a7615cf1fcaaf1598b5689e54915d88c2344788
treedbc71934884365b85725506d22d0c0ab79025097
parentebce31140c2ddfda005e88957ac1ee1eacaa8dc5
ASoC: rt5640: Fix ignored error checks

The negative error value returned from get_sdp_info() is ignored
because it's assigned to unsigned variables.

Spotted by coverity CIDs 1042657, 1042658.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/rt5640.c