]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: pcl711: sample types are unsigned
authorIan Abbott <abbotti@mev.co.uk>
Wed, 16 Oct 2013 13:40:28 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 19:48:30 +0000 (12:48 -0700)
commitb12bb4a5f3327cdbc080683fd5663894df14a359
tree36c90809d8713331539e173ea4cbb9b9530dee59
parent319b67ae1cf3c7c2339225c01c9c2456b4399140
staging: comedi: pcl711: sample types are unsigned

Sample values in comedi are generally represented as unsigned values.
Don't cast the sample value parameter of `comedi_buf_put()` to `short`,
particularly as it has now been changed to `unsigned short`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl711.c