staging: comedi: cb_das16_cs: probe for the device first
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 26 Jun 2012 00:11:56 +0000 (17:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2012 22:30:53 +0000 (15:30 -0700)
commit9a4d21154796136b87f841746fbdceec37bf48ee
tree737018ad12550f5bcb062bd6f6c2f3763697d865
parent8c50aa15329c6fc93e9de2780e3d8b5e4cb0dc16
staging: comedi: cb_das16_cs: probe for the device first

During the attach of the comedi_driver, the device type probe
can fail. We should do the probe before requesting the irq
for the driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_das16_cs.c