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

2013-03-21 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 --- Hi Sarah, Updated the patch as suggested. There are two 80

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

2013-03-21 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 gautam.vi...@samsung.com --- Hi Sarah, Updated the patch as