ASoC: Set sgtl5000->ldo in ldo_regulator_register
authorAxel Lin <axel.lin@gmail.com>
Thu, 20 Oct 2011 10:32:59 +0000 (18:32 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 21 Oct 2011 08:55:43 +0000 (09:55 +0100)
commit5b13de7aa754eaa274fc9ab018191bcdcb21bc45
tree7b72d30a4314d76e05779f3869b1720e621a1c0e
parentff39dbe93543d5d4118fddf247db48431f984648
ASoC: Set sgtl5000->ldo in ldo_regulator_register

Otherwise calling ldo_regulator_remove() does not unregister regulator
and free memories.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c