Re: [PATCH 2/8] usb: dwc3: gadget: combine unaligned and zero flags

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

 



Hi,

Thinh Nguyen <thinh.nguyen@xxxxxxxxxxxx> writes:
> @@ -2250,7 +2250,7 @@ static int dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep,
>>  	 * with one TRB pending in the ring. We need to manually clear HWO bit
>>  	 * from that TRB.
>>  	 */
>> -	if ((req->zero || req->unaligned) && !(trb->ctrl & DWC3_TRB_CTRL_CHN)) {
>> +	if (req->needs_extra_trb && !(trb->ctrl & DWC3_TRB_CTRL_CNH)) {
>
> DWC3_TRB_CTRL_CNH -> DWC3_TRB_CTRL_CHN

right, fixed locally.

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux