]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0634eeb03d8bfa29219ba5a37186e9190fd6384e
tree336dcb08e377a7bbc579618eb6ac82f816fca744
parent8517e26e92c80199cbdaa5fc0102dcba9b449ef8
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