Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220185
b: refs/heads/master
c: da1d8b6
h: refs/heads/master
i:
  220183: 0db21c6
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Oct 8, 2010
1 parent e9390a9 commit 08b157d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: deb02fc574909973786ec6e5ac4b5bced683a2e2
refs/heads/master: da1d8b68af7ccf0ed1eae587c57c5ef62a63a591
2 changes: 0 additions & 2 deletions trunk/drivers/staging/iio/light/light.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

/* Light to digital sensor attributes */

#define IIO_EVENT_CODE_LIGHT_THRESH IIO_EVENT_CODE_LIGHT_BASE


7 changes: 5 additions & 2 deletions trunk/drivers/staging/iio/light/tsl2563.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,11 @@ static void tsl2563_int_bh(struct work_struct *work_s)
u8 cmd = TSL2563_CMD | TSL2563_CLEARINT;

iio_push_event(chip->indio_dev, 0,
IIO_EVENT_CODE_LIGHT_BASE,
chip->event_timestamp);
IIO_UNMOD_EVENT_CODE(IIO_EV_CLASS_LIGHT,
0,
IIO_EV_TYPE_THRESH,
IIO_EV_DIR_EITHER),
chip->event_timestamp);

/* reenable_irq */
enable_irq(chip->client->irq);
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/iio/sysfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ struct iio_const_attr {
#define IIO_EVENT_CODE_ACCEL_BASE 300
#define IIO_EVENT_CODE_GYRO_BASE 400
#define IIO_EVENT_CODE_MISC_BASE 600
#define IIO_EVENT_CODE_LIGHT_BASE 700

#define IIO_EVENT_CODE_DEVICE_SPECIFIC 1000

Expand Down

0 comments on commit 08b157d

Please sign in to comment.