Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141247
b: refs/heads/master
c: 530ddf8
h: refs/heads/master
i:
  141245: bf76b22
  141243: cd090c2
  141239: 515885e
  141231: 9b96e02
  141215: 3c1a5fe
  141183: 27ffa9d
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 002dd2d commit 6c2c40c
Show file tree
Hide file tree
Showing 4 changed files with 6 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: c6f5af88438b3e22d56a6b2aafaee5ffc4bc030e
refs/heads/master: 530ddf8563df4d7af8f8bdd99fa478c63805d0e3
4 changes: 3 additions & 1 deletion trunk/drivers/staging/meilhaus/me1600_ao.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,9 @@ static int me1600_ao_io_single_write(me_subdevice_t * subdevice,
queue_delayed_work(instance->me1600_workqueue,
&instance->ao_control_task, 1);

if ((!flags & ME_IO_SINGLE_TYPE_WRITE_NONBLOCKING) && ((instance->ao_regs_shadows)->trigger & instance->ao_idx)) { //Blocking mode. Wait for software trigger.
if ((!(flags & ME_IO_SINGLE_TYPE_WRITE_NONBLOCKING)) &&
((instance->ao_regs_shadows)->trigger & instance->ao_idx)) {
/* Blocking mode. Wait for software trigger. */
if (time_out) {
delay = (time_out * HZ) / 1000;
if (delay == 0)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/meilhaus/me4600_ao.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ static int me4600_ao_io_stream_config(me_subdevice_t * subdevice,
}

if (flags & ME_IO_STREAM_CONFIG_HARDWARE_ONLY) {
if (!flags & ME_IO_STREAM_CONFIG_WRAPAROUND) {
if (!(flags & ME_IO_STREAM_CONFIG_WRAPAROUND)) {
PERROR
("Hardware ME_IO_STREAM_CONFIG_HARDWARE_ONLY has to be with ME_IO_STREAM_CONFIG_WRAPAROUND.\n");
return ME_ERRNO_INVALID_FLAGS;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/meilhaus/me6000_ao.c
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ static int me6000_ao_io_stream_config(me_subdevice_t * subdevice,
}

if (flags & ME_IO_STREAM_CONFIG_HARDWARE_ONLY) {
if (!flags & ME_IO_STREAM_CONFIG_WRAPAROUND) {
if (!(flags & ME_IO_STREAM_CONFIG_WRAPAROUND)) {
PERROR
("Hardware ME_IO_STREAM_CONFIG_HARDWARE_ONLY has to be with ME_IO_STREAM_CONFIG_WRAPAROUND.\n");
return ME_ERRNO_INVALID_FLAGS;
Expand Down

0 comments on commit 6c2c40c

Please sign in to comment.