alistair23-linux/net/rfkill
Loic Poulain 771bb3ddc2 rfkill-gpio: Use gpio cansleep version
If gpio controller requires waiting for read and write
GPIO values, then we have to use the gpio cansleep api.
Fix the rfkill_gpio_set_power which calls only the
nonsleep version (causing kernel warning).
There is no problem to use the cansleep version here
because we are not in IRQ handler or similar context
(cf rfkill_set_block).

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-05-07 13:20:59 +02:00
..
core.c net: rfkill: move poll work to power efficient workqueue 2014-02-04 21:58:16 +01:00
input.c rfkill: don't use [delayed_]work_pending() 2012-12-28 13:40:16 -08:00
Kconfig net: rfkill: gpio: clean up clock handling 2013-10-28 15:05:24 +01:00
Makefile net: rfkill: add generic gpio rfkill driver 2011-05-19 13:53:54 -04:00
rfkill-gpio.c rfkill-gpio: Use gpio cansleep version 2014-05-07 13:20:59 +02:00
rfkill-regulator.c net: rfkill: Do not ignore errors from regulator_enable() 2013-08-15 18:17:05 +02:00
rfkill.h rfkill: rewrite 2009-06-03 14:06:13 -04:00