Re: [PATCH] usb: dwc3: gadget: Properly initialize LINK TRB

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

 



On Tue, Oct 21, 2014 at 04:31:10PM -0700, Jack Pham wrote:
> On ISOC endpoints the last trb_pool entry used as a
> LINK TRB is not getting zeroed out correctly due to
> memset being called incorrectly and in the wrong place.
> If pool allocated from DMA was not zero-initialized
> to begin with this will result in the size and ctrl
> values being random garbage. Call memset correctly after
> assignment of the trb_link pointer.
> 
> Fixes: f6bafc6a1c ("usb: dwc3: convert TRBs into bitshifts")
> Signed-off-by: Jack Pham <jackp@xxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

you should add a # v3.4+ after stable email, I'll add that myself this
time.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]