Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219725
b: refs/heads/master
c: 04b7081
h: refs/heads/master
i:
  219723: 6898996
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Sep 5, 2010
1 parent 61efaeb commit 3f0699b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 299475e0d961c3dcf2f0b1a8a2ec6d61846aa52b
refs/heads/master: 04b708124aa72d43d74b2ea559813649593e1d4a
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int main(int argc, char **argv)
goto error_free_buf_dir_name;

/* Enable the buffer */
ret = write_sysfs_int("ring_enable", buf_dir_name, 1);
ret = write_sysfs_int("enable", buf_dir_name, 1);
if (ret < 0)
goto error_free_buf_dir_name;

Expand Down Expand Up @@ -209,7 +209,7 @@ int main(int argc, char **argv)
}

/* Stop the ring buffer */
ret = write_sysfs_int("ring_enable", buf_dir_name, 0);
ret = write_sysfs_int("enable", buf_dir_name, 0);
if (ret < 0)
goto error_close_buffer_event;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/iio/trigger.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ int iio_alloc_pollfunc(struct iio_dev *indio_dev,

/*
* Two functions for common case where all that happens is a pollfunc
* is attached and detached form a trigger
* is attached and detached from a trigger
*/
int iio_triggered_ring_postenable(struct iio_dev *indio_dev);
int iio_triggered_ring_predisable(struct iio_dev *indio_dev);
Expand Down

0 comments on commit 3f0699b

Please sign in to comment.