Re: USB: serial: ch341: remove reset_resume callback

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

 



On Thu, 10 May 2012, Greg Kroah-Hartman wrote:

> But, for the reset_resume callback, I only want to set that in the
> usb_driver structure if the usb_serial driver supports it, otherwise the
> usb core will do different things if it is not set, right?  I can't just
> always set it, like we have for the suspend/resume callback from what I
> can tell.  Or is that incorrect?

You've got the right idea.  In fact, since you get an entire array of 
serial drivers, you should set the reset_resume method pointer only if 
_all_ the drivers in the array support it.

Alan Stern

--
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