From: H Hartley Sweeten Date: Tue, 26 Aug 2014 00:55:54 +0000 (-0700) Subject: staging: comedi: gsc_hpdi: tidy up freeing of the dma buffers X-Git-Tag: fixes-for-v3.18-merge-window~15^2~992 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d558c5967741e6c551883c58441d29f5440a4ab2;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed