Re: [PATCH 00/21] USB: serial: refactor endpoint sanity checks

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

 



On Thu, Mar 02, 2017 at 12:51:13PM +0100, Johan Hovold wrote:
> This series refactors the endpoint sanity checks by allowing subdrivers
> to specify a minimum number of endpoints required per type and letting
> core verify this during probe.
> 
> Note that the checks are minimum (i.e. we allow further unused
> endpoints) and are verified only after the subdriver probe callbacks
> returns where the altsetting may have been changed or an interface may
> have been rejected based on some other property (e.g. interface number).
> 
> This series also moves the endpoint descriptor arrays used to determine
> the port-endpoint mapping of the stack and increases the maximum number
> of ports a device can register to 16, something which specifically
> enables the upper eight ports of some Moxa devices.
> 
> Note that a follow-on series will pass the endpoint descriptors to the
> subdrivers, something which allows for clean ups of more elaborate
> sanity checks as well as the port-endpoint mapping to be modified (and
> some related hacks to be removed).

I've now applied this series for -next, and will be posting the
follow-on series mentioned above shortly.

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