OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3c2155
)
gpio: sx150x: Fix comparing wrong value with chip->irq_masked
author
Axel Lin
<axel.lin@ingics.com>
Tue, 16 Dec 2014 06:22:27 +0000
(14:22 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 15 Jan 2015 16:23:20 +0000
(17:23 +0100)
Fix a copy-paste bug.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sx150x.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-sx150x.c
b/drivers/gpio/gpio-sx150x.c
index
b32fb38
..
20573ac
100644
(file)
--- a/
drivers/gpio/gpio-sx150x.c
+++ b/
drivers/gpio/gpio-sx150x.c
@@
-436,7
+436,7
@@
static void sx150x_irq_bus_sync_unlock(struct irq_data *d)
/* Avoid updates if nothing changed */
if (chip->dev_sense == chip->irq_sense &&
- chip->dev_
sense
== chip->irq_masked)
+ chip->dev_
masked
== chip->irq_masked)
goto out;
chip->dev_sense = chip->irq_sense;