From: H Hartley Sweeten Date: Tue, 9 Sep 2014 20:05:32 +0000 (-0700) Subject: staging: comedi: adl_pci9118: handle hardware errors in interrupt handler X-Git-Tag: fixes-for-v3.18-merge-window~15^2~538 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f16a7b85168af1dc6621a7edb7925fca577e1017;p=pandora-kernel.git staging: comedi: adl_pci9118: handle hardware errors in interrupt handler Hardware errors will now always terminate an async command. For aesthetics, absorb pci9118_decode_error_status() into the interrupt handler and use the register map defines to remove the "magic" numbers. Refactor the code to set the appropriate comedi event bits and handle the event. Remove the unnecessary 'ai_maskerr' and 'ai_maskharderr' members from the private data. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed