[PATCH 0/2] staging: comedi: use mutex for driver list

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

 



A couple of patches to Comedi's driver list code.  Patch 1 just changes
the return type on an unregister function to `void`.  Patch 2 uses a
mutex for accessing the driver list.

1) staging: comedi: return void from comedi_driver_unregister()
2) staging: comedi: use a mutex when accessing driver list

 drivers/staging/comedi/comedi_internal.h |  1 +
 drivers/staging/comedi/comedidev.h       |  2 +-
 drivers/staging/comedi/drivers.c         | 41 +++++++++++++++++++-------------
 drivers/staging/comedi/proc.c            |  2 ++
 4 files changed, 29 insertions(+), 17 deletions(-)
_______________________________________________
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