diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-08-30 11:47:11 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-17 07:47:42 -0700 |
| commit | 7e6f185e68d49c88ddc37973f8670e7fe88ad53b (patch) | |
| tree | 76454bb7a4e91fae124272d574bca585157a0b3c /scripts/basic | |
| parent | b6ede0545894aa4d363875b9fb087d06e52b9cac (diff) | |
staging: comedi: comedi_parport: don't fail attach if irq is not available
Interrupt support in this driver is optional. Don't fail the attach of the
board if the request_irq() fails.
Only allocate and setup the subdevice for the interrupt if the request_irq()
was successful.
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>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
