diff options
| author | H Hartley Sweeten | 2013-12-05 13:43:35 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman | 2013-12-06 13:07:16 -0800 |
| commit | 67fb892cc14aa3159aa68cbda2bd6cc30e2e7fd8 (patch) | |
| tree | 487152872ade3ecacd915ba00db6479239f31d59 /tools/perf/scripts | |
| parent | 19cf54dd39f2213232ceb4ed1102876a3bd983f1 (diff) | |
staging: comedi: adv_pci1710: only init async command members when needed
The 'len_chanlist' and 'cancel' members of the comedi_subdevice are
only used with async command support. Only initialize them if the irq
was sucessfully requested.
Also, only init the dev->read_subdev if we have the irq.
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 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
