net: rfkill: gpio: fix reversed clock enable state 11/25911/2
authorChen-Yu Tsai <wens@csie.org>
Thu, 15 May 2014 02:25:58 +0000 (11:25 +0900)
committerChanho Park <cometzero@review.tizen.org>
Wed, 13 Aug 2014 01:07:24 +0000 (18:07 -0700)
commit1d8d22f4fcd0c5199fa1886adcb36ae0554b9a45
tree0e88fd3a2762b58bf0a836969ef8dfc38a40182c
parent14bbdd75757b90b244cb381d6754e3bd70bdde33
net: rfkill: gpio: fix reversed clock enable state

rfkill-gpio has clk_enabled = blocked, which is true when rfkill
blocks the device. This results in calling clock enable/disable at
the wrong time. Reversing the value fixes this.

Change-Id: Id13a2bd8d7314b29753d2cdedca62b27fa9fd1d9
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
net/rfkill/rfkill-gpio.c