ASoC: tpa6130a2: Get rid of compile warning from tpa6130a2_power
authorJarkko Nikula <jhnikula@gmail.com>
Wed, 3 Nov 2010 14:39:00 +0000 (16:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Nov 2010 14:50:46 +0000 (15:50 +0100)
commit75e3f3137cb570661c2ad3035a139dda671fbb63
tree336dcb08e377a7bbc579618eb6ac82f816fca744
parentcf78c0c4267c37f2f98cb03a73c0a99c2cdaef87
ASoC: tpa6130a2: Get rid of compile warning from tpa6130a2_power

Patch "ASoC: tpa6130a2: Fix unbalanced regulator disables" introduced a
compiler warning "‘ret’ may be used uninitialized in this function".
Initialize ret to zero to get rid of it and making sure that the function
does not return any random error code when the code is falling through.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/tpa6130a2.c