[media] ARM: PXA: use gpio_set_value_cansleep() on pcm990
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 27 Jul 2011 14:11:41 +0000 (11:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:27:41 +0000 (18:27 -0200)
commitfae00288c423330b7fd97df59fc90039b6399d93
tree2e0bdd2fd8d8bd9edd92f9e9197e0e9d88aa6f21
parent7e5cf0ae269933dd951a9c1b746fb6bd569f1ac3
[media] ARM: PXA: use gpio_set_value_cansleep() on pcm990

Camera-switching GPIOs are provided by a i2c GPIO extender, switching
them can send the caller to sleep. Use the GPIO API *_cansleep methods
explicitly to avoid runtime warnings.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
arch/arm/mach-pxa/pcm990-baseboard.c