commit | f9804323a84017d370b5bd048a3ddd3069500955 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Aug 25 17:55:53 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 30 13:25:51 2014 -0700 |
tree | 5278d30f8bcdf4ea1dd7ae9017a14bccff45a2df | |
parent | caf6d12d036ea78e8f54c40fa99320416b040c71 [diff] |
staging: comedi: cb_pcidas64: 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>