diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-10-14 00:47:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-17 06:20:10 (GMT) |
commit | 16ded01b69b10d09659e61f0703979c63dcd385f (patch) | |
tree | 4066689303203e33236216537d2171d887f654b1 /drivers/ras | |
parent | 73d38effd10b8e399790aa67d6eace855f2d81ce (diff) | |
download | linux-16ded01b69b10d09659e61f0703979c63dcd385f.tar.xz |
staging: comedi: cb_pcidas: fix cb_pcidas_eeprom_insn_read()
The comedi core expects (*insn_read) operations to return insn->n
data values. Refactor this function to work like the core expects.
For aesthetics, nvram_read() and use the comedi_timeout() helper
to handle the busy wait for the eeprom to be "ready".
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions