mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
staging: comedi: quatech_daqp_cs: sample types are unsigned
Sample values in comedi are generally represented as unsigned values. Change `daqp_interrupt()` to use unsigned sample values for consistency. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5c174c41d8
commit
8bab0d680e
1 changed files with 1 additions and 2 deletions
|
|
@ -208,8 +208,7 @@ static enum irqreturn daqp_interrupt(int irq, void *dev_id)
|
|||
case buffer:
|
||||
while (!((status = inb(dev->iobase + DAQP_STATUS))
|
||||
& DAQP_STATUS_FIFO_EMPTY)) {
|
||||
|
||||
short data;
|
||||
unsigned short data;
|
||||
|
||||
if (status & DAQP_STATUS_DATA_LOST) {
|
||||
s->async->events |=
|
||||
|
|
|
|||
Loading…
Reference in a new issue