Re: [V2 PATCH 04/10] added media agnostic (MA) USB packet handling

2014-11-12 Thread Oliver Neukum
On Mon, 2014-11-10 at 18:09 -0800, Stephanie Wallick wrote: +/** + * Compares 2 request IDs. Returns true if a is less than b. Handles request id + * wraparound. + */ +bool mausb_req_id_lt(u8 a, u8 b) Unify such functions. It's just silly to have so many of them. +/** + * Calculates the

[V2 PATCH 04/10] added media agnostic (MA) USB packet handling

2014-11-10 Thread Stephanie Wallick
This is where we handle MA USB packets. The structure and types of MA USB packets are defined in the MA USB specification. When an MA USB driver receives a USB packet, it translates it into a MA USB packet (or packets if urb exceeds maximum USB packet size). When an MA USB packet is received, the

[PATCH 04/10] added media agnostic (MA) USB packet handling

2014-11-03 Thread Stephanie Wallick
This is where we handle MA USB packets. The structure and types of MA USB packets are defined in the MA USB specification. When an MA USB driver receives a USB packet, it translates it into a MA USB packet (or packets if urb exceeds maximum USB packet size). When an MA USB packet is received, the