Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281369
b: refs/heads/master
c: 976fe5a
h: refs/heads/master
i:
  281367: f45c847
v: v3
  • Loading branch information
Ravishankar karkala Mallikarjunayya authored and Greg Kroah-Hartman committed Dec 14, 2011
1 parent 4a68c70 commit 9c522b0
Show file tree
Hide file tree
Showing 2 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: deb04291a1eaa20c4565a64e894cdeb3e311d97b
refs/heads/master: 976fe5ab27e682d3dbfec26517a8a248638af07d
8 changes: 5 additions & 3 deletions trunk/drivers/staging/comedi/drivers/pcmuio.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,8 @@ static int pcmuio_dio_insn_bits(struct comedi_device *dev,

#ifdef DAMMIT_ITS_BROKEN
/* DEBUG */
printk("write mask: %08x data: %08x\n", data[0], data[1]);
dev_dbg(dev->hw_dev, "write mask: %08x data: %08x\n", data[0],
data[1]);
#endif

s->state = 0;
Expand Down Expand Up @@ -537,7 +538,7 @@ static int pcmuio_dio_insn_bits(struct comedi_device *dev,
}
#ifdef DAMMIT_ITS_BROKEN
/* DEBUG */
printk("data_out_byte %02x\n", (unsigned)byte);
dev_dbg(dev->hw_dev, "data_out_byte %02x\n", (unsigned)byte);
#endif
/* save the digital input lines for this byte.. */
s->state |= ((unsigned int)byte) << offset;
Expand All @@ -548,7 +549,8 @@ static int pcmuio_dio_insn_bits(struct comedi_device *dev,

#ifdef DAMMIT_ITS_BROKEN
/* DEBUG */
printk("s->state %08x data_out %08x\n", s->state, data[1]);
dev_dbg(dev->hw_dev, "s->state %08x data_out %08x\n", s->state,
data[1]);
#endif

return 2;
Expand Down

0 comments on commit 9c522b0

Please sign in to comment.