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

Commit bdc4abdd authored by Pete Zaitcev's avatar Pete Zaitcev Committed by Greg Kroah-Hartman
Browse files

USB: usblp: Use correct DMA address in case of probe error



Looks like the error path had a copy-paste error. The normal exit path
uses correct URB already.

Signed-off-by: default avatarPete Zaitcev <zaitcev@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b268f484
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1003,7 +1003,7 @@ static int usblp_probe(struct usb_interface *intf,
				usblp->writebuf, usblp->writeurb->transfer_dma);
		if (usblp->readbuf)
			usb_buffer_free (usblp->dev, USBLP_BUF_SIZE,
				usblp->readbuf, usblp->writeurb->transfer_dma);
				usblp->readbuf, usblp->readurb->transfer_dma);
		kfree(usblp->statusbuf);
		kfree(usblp->device_id_string);
		usb_free_urb(usblp->writeurb);