Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e601efd0 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

media: lmedm04: Fix misuse of comma



[ Upstream commit 59a3e78f8cc33901fe39035c1ab681374bba95ad ]

There's a comma used instead of a semicolon that causes multiple
statements to be executed after an if instead of just the intended
single statement.

Replace the comma with a semicolon.

Fixes: 15e1ce33 ("[media] lmedm04: Fix usb_submit_urb BOGUS urb xfer, pipe 1 != type 3 in interrupt urb")
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0443fcfd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -445,7 +445,7 @@ static int lme2510_int_read(struct dvb_usb_adapter *adap)
	ep = usb_pipe_endpoint(d->udev, lme_int->lme_urb->pipe);
	ep = usb_pipe_endpoint(d->udev, lme_int->lme_urb->pipe);


	if (usb_endpoint_type(&ep->desc) == USB_ENDPOINT_XFER_BULK)
	if (usb_endpoint_type(&ep->desc) == USB_ENDPOINT_XFER_BULK)
		lme_int->lme_urb->pipe = usb_rcvbulkpipe(d->udev, 0xa),
		lme_int->lme_urb->pipe = usb_rcvbulkpipe(d->udev, 0xa);


	lme_int->lme_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
	lme_int->lme_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;