Only set SRF_RT subdevice flag if comedi_switch_to_rt(dev) succeeds.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 7 Jan 2008 11:05:21 +0000 (11:05 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 7 Jan 2008 11:05:21 +0000 (11:05 +0000)
commitba94fab792c6e6369f2fa87106023cf576b9fc78
treed7394f5d4a427f49328b46e39b728923d7f5af6e
parent1016290392d3fd24fa9b0dba0f0fd790e83e0004
Only set SRF_RT subdevice flag if comedi_switch_to_rt(dev) succeeds.
comedi/comedi_fops.c