Re: [PATCH] staging: comedi: usbduxfast: use attach_usb() hook

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

 



On 2012-06-18 17:10, H Hartley Sweeten wrote:
On Monday, June 18, 2012 7:14 AM, Ian Abbott wrote:
Change the usbduxfast driver to use the new attach_usb() hook in struct
comedi_driver to auto-configure probed USB devices after the firmware is
loaded.

Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx>
---
  drivers/staging/comedi/drivers/usbduxfast.c |  133 ++++++++++++++++-----------
  1 files changed, 79 insertions(+), 54 deletions(-)

Ian,

If the attach_usb callback is provided does the attach callback even
need to be supplied?

I'm sure we've been through this before! The attach callback is reachable by the COMEDI_DEVCONFIG ioctl.

--
-=( 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/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