Skip to content
Commit 75e3f313 authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Takashi Iwai
Browse files

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: default avatarJarkko Nikula <jhnikula@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent cf78c0c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment