Re: [PATCH 0/2] staging: comedi: drivers: replace poc driver with new dac02 driver

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

 



On 2014-03-11 19:04, H Hartley Sweeten wrote:
The poc driver was a catch-all for some very simple boards. Most of the boards that
used to be supported by this driver have been migrated to other common drivers. The
only board remaining in it was the DAC02, a two channel analog output board.

Introduce a separate, simplified, driver for the DAC02 board and remove the poc
driver.

The dac02 driver now fully supports the hardware:
   1) reports the analog output ranges that the hardware can produce
   2) properly handles the comedi (*insn_read) and (*insn_write) functions
   3) properly handles writes when a bipolar range is used

In addition, the unnecessary boardinfo has been removed and the private data
memory resource has been reduced.

H Hartley Sweeten (2):
   staging: comedi: dac02: introduce comedi driver for DAC02 boards
   staging: comedi: poc: remove obsolete driver

  drivers/staging/comedi/Kconfig          |  17 ++--
  drivers/staging/comedi/drivers/Makefile |   2 +-
  drivers/staging/comedi/drivers/dac02.c  | 172 ++++++++++++++++++++++++++++++++
  drivers/staging/comedi/drivers/poc.c    | 157 -----------------------------
  4 files changed, 181 insertions(+), 167 deletions(-)
  create mode 100644 drivers/staging/comedi/drivers/dac02.c
  delete mode 100644 drivers/staging/comedi/drivers/poc.c


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