Messages in this thread | | | From | Felipe Balbi <> | Subject | Re: [PATCH] usb: gadget: udc: Fix assignment of 0/1 to bool variables | Date | Tue, 22 Oct 2019 09:11:21 +0300 |
| |
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
| |