Files
linux/drivers
H Hartley Sweeten cb09d912e2 staging: comedi: das16: fix das16_detach()
The function das16_reset() needs a valid dev->iobase. Since the iobase
is requested after the devpriv has been allocated in the attach, move
the das16_reset() call into the if (devpriv) and add a if (dev->iobase).

Also, move the release of the extra iobase into the if (devpriv) to
prevent an invalid memory access.

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>
2013-07-31 17:38:07 -07:00
..
2013-07-26 08:57:56 -04:00
2013-06-27 13:42:16 -04:00
2013-07-23 16:01:28 -07:00
2013-06-28 13:01:40 +02:00
2013-07-22 09:34:46 +08:00