summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten2013-12-05 13:43:35 -0700
committerGreg Kroah-Hartman2013-12-06 13:07:16 -0800
commit67fb892cc14aa3159aa68cbda2bd6cc30e2e7fd8 (patch)
tree487152872ade3ecacd915ba00db6479239f31d59 /tools/perf/scripts/python
parent19cf54dd39f2213232ceb4ed1102876a3bd983f1 (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/python')
0 files changed, 0 insertions, 0 deletions