]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: core: Fix regualtor_ena_gpio_free not to access pin after freeing
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 4 Dec 2014 10:17:17 +0000 (19:17 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 4 Dec 2014 22:45:36 +0000 (22:45 +0000)
commit638d674c3b5e3d2d8bb04e5ac916c50c74cfb1b8
treed3a28bd5639ad1b4ee53019b09c0821df24e65ac
parente386622e3ad4914c63a4c4e095b1c7921a158c24
regulator: core: Fix regualtor_ena_gpio_free not to access pin after freeing

After freeing pin from regulator_ena_gpio_free, loop can access
the pin. So this patch fixes not to access pin after freeing.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c