Re: [PATCH v3] usb-serial: Moxa UPORT 12XX/14XX/16XX driver

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

 



On Wed, Oct 09, 2013 at 12:57:45PM +0200, Johan Hovold wrote:
> On Wed, Sep 25, 2013 at 11:53:00AM +0200, Andrew Lunn wrote:

> > TODO
> > Custom resume function
> 
> You have to implement a custom resume function as usb-serial will use
> the incompatible generic one otherwise. Model it after the generic
> implementation, but always submit the read urbs for port 0 and 1 (only)
> while calling usb_serial_generic_write_start for any open port. Note that
> this requires exporting usb_serial_generic_write_start (I'll submit a
> patch).

The usb_serial_generic_write_start is now exported and has gained a
mem_flags parameter. Just use GFP_NOIO in your custom resume function
(same for usb_serial_generic_submit_read_urbs).

The patches are in the usb-next branch of Greg's USB tree. You should
rebase v4 on this branch.

Thanks,
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux