]> git.baikalelectronics.ru Git - kernel.git/commit
net: rfkill: gpio: Fix clock status
authorLoic Poulain <loic.poulain@intel.com>
Tue, 16 Sep 2014 12:53:58 +0000 (14:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Sep 2014 20:02:15 +0000 (16:02 -0400)
commit6a610a99e226e20604a6b2c61eded10463e723d5
treef71460f42aaa0c0962e7947fc7f7f9bb7533874b
parentc645ab6c22b3712e0e9a09538e2ce9a83dbcee99
net: rfkill: gpio: Fix clock status

Clock is disabled when the device is blocked.
So, clock_enabled is the logical negation of "blocked".

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/rfkill-gpio.c