]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: amplc_pc263: Correct initial state
authorIan Abbott <abbotti@mev.co.uk>
Wed, 30 May 2012 18:04:35 +0000 (19:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:48:06 +0000 (20:48 -0700)
commit9f989000b54fe3131104bb26f1cc7bd0fab92e40
tree5da42d73607f7e4a40063ba9a84002b0862df268
parenta46e759fc05a048530da43f241c8f07e0624232c
staging: comedi: amplc_pc263: Correct initial state

The initial state of the relays is being read incorrectly.  It's reading
a single 8-bit port twice, but should be reading two consecutive 8-bit
ports.  Fix it.

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