Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198322
b: refs/heads/master
c: 4a70a41
h: refs/heads/master
v: v3
  • Loading branch information
Samu Onkalo authored and Linus Torvalds committed May 25, 2010
1 parent bb7981d commit 306d015
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d94d4081048756df78444a07201156f4930fe48
refs/heads/master: 4a70a413ccfd1c14ef29a290a4d2dada04ccbefb
4 changes: 4 additions & 0 deletions trunk/drivers/hwmon/lis3lv02d.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@

/* joystick device poll interval in milliseconds */
#define MDPS_POLL_INTERVAL 50
#define MDPS_POLL_MIN 0
#define MDPS_POLL_MAX 2000
/*
* The sensor can also generate interrupts (DRDY) but it's pretty pointless
* because they are generated even if the data do not change. So it's better
Expand Down Expand Up @@ -459,6 +461,8 @@ int lis3lv02d_joystick_enable(void)

lis3_dev.idev->poll = lis3lv02d_joystick_poll;
lis3_dev.idev->poll_interval = MDPS_POLL_INTERVAL;
lis3_dev.idev->poll_interval_min = MDPS_POLL_MIN;
lis3_dev.idev->poll_interval_max = MDPS_POLL_MAX;
input_dev = lis3_dev.idev->input;

input_dev->name = "ST LIS3LV02DL Accelerometer";
Expand Down

0 comments on commit 306d015

Please sign in to comment.