]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit958b19824dc5e472e1444b8730749f7d9878ef8e
treedbc71934884365b85725506d22d0c0ab79025097
parent5d8d9ae72d074eb7b706b4b395f8a1261c477e94
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 10426571042658.

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