projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af473c
)
staging:iio:ad799x fix typo in ad799x_events[]
author
Hartmut Knaack
<knaack.h@gmx.de>
Fri, 1 Aug 2014 23:07:00 +0000
(
00:07
+0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 8 Feb 2014 10:12:28 +0000
(10:12 +0000)
This patch fixes a typo in ad799x_events[], which caused the error "Failed to register event set".
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Cc: stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad799x_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/adc/ad799x_core.c
b/drivers/staging/iio/adc/ad799x_core.c
index 31a2be68806084c16e3fb392f5fd7ae9e15dfcf0..5708ffc62aec94debe2c9a6aa8b6562f6a40623f 100644
(file)
--- a/
drivers/staging/iio/adc/ad799x_core.c
+++ b/
drivers/staging/iio/adc/ad799x_core.c
@@
-393,7
+393,7
@@
static const struct iio_event_spec ad799x_events[] = {
}, {
.type = IIO_EV_TYPE_THRESH,
.dir = IIO_EV_DIR_FALLING,
- .mask_separate = BIT(IIO_EV_INFO_VALUE)
,
+ .mask_separate = BIT(IIO_EV_INFO_VALUE)
|
BIT(IIO_EV_INFO_ENABLE),
}, {
.type = IIO_EV_TYPE_THRESH,