lkml.org 
[lkml]   [2019]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] usb: gadget: udc: Fix assignment of 0/1 to bool variables
Date

Hi,

Michal Simek <michal.simek@xilinx.com> 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@xilinx.com>

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

--
balbi

\
 
 \ /
  Last update: 2019-10-22 08:11    [W:0.036 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site