commit | 0be81727a48cc28c1219395f32da8ccc99d6c6d0 | [log] [tgz] |
---|---|---|
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | Wed Oct 16 13:53:41 2013 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Oct 28 15:05:24 2013 +0100 |
tree | 47d1fb52b367cb0fdd066c8c74849c2ed8eb4755 | |
parent | f02ae59b1230853693d09a1003075d671f1a6f7d [diff] |
net: rfkill: gpio: spinlock-safe GPIO access This sets the direction of the gpio once when it's requested, and uses the spinlock-safe gpio_set_state() to change the state. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Rhyland Klein <rklein@nvidia.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>