Re: [PATCH] usb: gadget: udc: Fix assignment of 0/1 to bool variables

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

 



Hi,

Michal Simek <michal.simek@xxxxxxxxxx> writes:
>> @@ -1952,9 +1952,9 @@ static void xudc_nonctrl_ep_handler(struct xusb_udc *udc, u8 epnum,
>>  	ep = &udc->ep[epnum];
>>  	/* Process the End point interrupts.*/
>>  	if (intrstatus & (XUSB_STATUS_EP0_BUFF1_COMP_MASK << epnum))
>> -		ep->buffer0ready = 0;
>> +		ep->buffer0ready = false;
>>  	if (intrstatus & (XUSB_STATUS_EP0_BUFF2_COMP_MASK << epnum))
>> -		ep->buffer1ready = 0;
>> +		ep->buffer1ready = false;
>>  
>>  	if (list_empty(&ep->queue))
>>  		return;
>> 
>
> Acked-by: Michal Simek <michal.simek@xxxxxxxxxx>

I don't have the original patch, sorry. Care to resend with Acks?

-- 
balbi



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

  Powered by Linux