Re: [PATCH] usb: xhci: Fix TRB transfer length macro used for Event TRB.

2013-03-20 Thread Vivek Gautam
Hi, On Wed, Mar 20, 2013 at 11:19 PM, Sarah Sharp wrote: > On Wed, Mar 20, 2013 at 03:48:40PM +0530, Vivek Gautam wrote: >> Use proper macro while extracting TRB transfer length from >> Transfer event TRBs. Adding a macro EVENT_TRB_LEN (bits 0:23) >> for the same, and use it instead of TRB_LEN (

Re: [PATCH] usb: xhci: Fix TRB transfer length macro used for Event TRB.

2013-03-20 Thread Sarah Sharp
On Wed, Mar 20, 2013 at 03:48:40PM +0530, Vivek Gautam wrote: > Use proper macro while extracting TRB transfer length from > Transfer event TRBs. Adding a macro EVENT_TRB_LEN (bits 0:23) > for the same, and use it instead of TRB_LEN (bits 0:16) in > case of event TRBs. Thanks for the patch! Comme

[PATCH] usb: xhci: Fix TRB transfer length macro used for Event TRB.

2013-03-20 Thread Vivek Gautam
Use proper macro while extracting TRB transfer length from Transfer event TRBs. Adding a macro EVENT_TRB_LEN (bits 0:23) for the same, and use it instead of TRB_LEN (bits 0:16) in case of event TRBs. Signed-off-by: Vivek gautam --- drivers/usb/host/xhci-ring.c | 45 +++-