diff options
-rw-r--r-- | drivers/gnss/sirf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gnss/sirf.c b/drivers/gnss/sirf.c index f9a9d00dec98..59cde7e923b8 100644 --- a/drivers/gnss/sirf.c +++ b/drivers/gnss/sirf.c @@ -125,7 +125,7 @@ static irqreturn_t sirf_wakeup_handler(int irq, void *dev_id) if (ret < 0) goto out; - data->active = !!ret; + data->active = ret; wake_up_interruptible(&data->power_wait); out: return IRQ_HANDLED; |