commit | d558c5967741e6c551883c58441d29f5440a4ab2 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Aug 25 17:55:54 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 30 13:25:51 2014 -0700 |
tree | 57fc34ac148cce0be26d39d3db7a3133fc52976d | |
parent | f9804323a84017d370b5bd048a3ddd3069500955 [diff] |
staging: comedi: gsc_hpdi: tidy up freeing of the dma buffers Factor the freeing of the dma buffers out of the (*detach). Move the freeing of the buffers so that it occurs after the PCI device has been disabled to avoid any race condition. 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>