OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
703a9ce
)
staging:iio:light:tsl2563 both intensity channels have same chan_spec.
author
Jonathan Cameron
<jic23@cam.ac.uk>
Wed, 26 Oct 2011 16:27:36 +0000
(17:27 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 27 Nov 2011 00:30:30 +0000
(16:30 -0800)
Bug has been fixed for some time in the outofstaging tree, but
didn't propogate back to here.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/light/tsl2563.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/light/tsl2563.c
b/drivers/staging/iio/light/tsl2563.c
index
7e984bc
..
be99925
100644
(file)
--- a/
drivers/staging/iio/light/tsl2563.c
+++ b/
drivers/staging/iio/light/tsl2563.c
@@
-544,7
+544,7
@@
static const struct iio_chan_spec tsl2563_channels[] = {
}, {
.type = IIO_INTENSITY,
.modified = 1,
- .channel2 = IIO_MOD_LIGHT_
BOTH
,
+ .channel2 = IIO_MOD_LIGHT_
IR
,
.info_mask = (1 << IIO_CHAN_INFO_CALIBSCALE_SEPARATE),
}
};