Re: [PATCH v3 0/7] staging: comedi: cleanup PCI driver detach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26/08/14 01:55, H Hartley Sweeten wrote:
Introduce a new helper function, comedi_pci_detach(), that can be used
as the (*detach) of a comedi PCI driver to handle the boilerplate code
of the PCI driver detach.

Use the the new helper to remove the boilerplate from most of the comedi
PCI drivers.

Some of the drivers need additional cleanup before comedi_pci_disable()
can be removed.

This series was orignally posted as a single patch:
[PATCH] staging: comedi: comedi_pci: enhance comedi_pci_disable()

Ian Abbott pointed out a couple issues and race conditions in that
patch. This breaks the patch up and drops the patches that had race
issues.

v1: original single patch
v2: split patch and addressed issues pointed out by Ian Abbott
v3: drop patches with race conditions

H Hartley Sweeten (7):
   staging: comedi: comedi_pci: introduce comedi_pci_detach()
   staging: comedi: adv_pci_dio: remove 'valid' member from private data
   staging: comedi: icp_multi: remove 'valid' member from private data
   staging: comedi: s626: tidy up freeing of the dma buffers
   staging: comedi: s626: use comedi_pci_detach()
   staging: comedi: cb_pcidas64: tidy up freeing of the dma buffers
   staging: comedi: gsc_hpdi: tidy up freeing of the dma buffers

Reviewed-by:Ian Abbott <abbotti@xxxxxxxxx>

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@xxxxxxxxx>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux