staging: comedi: addi_apci_3120: use async->events to report hardware error
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 4 Nov 2014 17:55:24 +0000 (10:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:34:05 +0000 (09:34 -0800)
commita68809bb8d97f6df3296298e932f07b33e939d00
tree997103a5e25f17aaf6620fba52059a66a17e9ddb
parent18e3b50367c68fa2cbb7a93d4aa8393fcedcbab3
staging: comedi: addi_apci_3120: use async->events to report hardware error

In apci3120_interrupt_dma(), use the async->events to report the hardware
error and allow the core to (*cancel) the command instead of calling the
(*cancel) function directly.

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>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c
This page took 0.024535 seconds and 5 git commands to generate.