diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-08-30 18:05:58 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-20 15:49:07 (GMT) |
commit | dd8533bb013a03dd4290c6dee078602c37b9c40d (patch) | |
tree | b47556c8f031c7199634cf9f9e3dac619384663e /drivers/staging/rtl8188eu | |
parent | e8e21dd5461293632406cc705c9ee85dd0f4156e (diff) | |
download | linux-fsl-qoriq-dd8533bb013a03dd4290c6dee078602c37b9c40d.tar.xz |
staging: comedi: drivers: use comedi_dio_update_state() for simple cases
commit 97f4289ad08cffe55de06d4ac4f89ac540450aee upstream.
[Split from original patch subject: "staging: comedi: drivers: use
comedi_dio_update_state() for simple cases"]
Use comedi_dio_update_state() to handle the boilerplate code to update
the subdevice s->state for simple cases where the hardware is updated
when any channel is modified.
Also, fix a bug in the amplc_pc263 and amplc_pci263 drivers where the
current state is not returned in data[1].
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
0 files changed, 0 insertions, 0 deletions