diff options
author | Loic Poulain <loic.poulain@intel.com> | 2014-05-07 13:38:11 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-05-07 15:20:59 +0400 |
commit | 771bb3ddc225d6dbbef8f22838c1287c4e3cd02b (patch) | |
tree | a2b7a5154245dca80db205967650b2e82eff350e /lib | |
parent | e5593f56ebbc1b427055da8bc49d7e12a108de36 (diff) | |
download | linux-771bb3ddc225d6dbbef8f22838c1287c4e3cd02b.tar.xz |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions