mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
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: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b268f484f9
commit
bdc4abdd09
1 changed files with 1 additions and 1 deletions
|
@ -1003,7 +1003,7 @@ abort:
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue