From: H Hartley Sweeten Date: Tue, 3 Dec 2013 19:07:10 +0000 (-0700) Subject: staging: comedi: s626: fix async command hookup X-Git-Tag: v3.14-rc1~150^2~578 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f95321f33af8b75cce171ba18e5fa04ed1fcb88f;p=pandora-kernel.git staging: comedi: s626: fix async command hookup Only set the SDF_CMD_READ subdev_flag if the irq was sucessfully requested. Remove the unnecessary sanity check of dev->irq in s626_ai_cmd(). This callback is only hooked up if the irq is available. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed