regulator: lock supply in regulator enable
authorMattias Wallin <mattias.wallin@stericsson.com>
Thu, 4 Nov 2010 10:01:31 +0000 (11:01 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 30 Nov 2010 15:13:25 +0000 (15:13 +0000)
commit3aa713e76e8f562c0d28faf18873c4f1836b17c9
treeb4de8864beeb9df897350bd121218d51012b1668
parent7727da22e820a96ab394db2fc0ab58f7f7ecb323
regulator: lock supply in regulator enable

This patch add locks around regulator supply enable.

Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c