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: NHeikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: NRhyland Klein <rklein@nvidia.com> Reviewed-by: NMika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Showing
想要评论请 注册 或 登录