patch "USB: ohci-sm501: Add missed iounmap() in remove" added to usb-linus
Subsystems (3)
This is a note to let you know that I've just added the patch titled
USB: ohci-sm501: Add missed iounmap() in remove
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
From 07c112fb09c86c0231f6ff0061a000ffe91c8eb9 Mon Sep 17 00:00:00 2001
From: Chuhong Yuan <[email protected]>
Date: Wed, 10 Jun 2020 10:48:44 +0800
Subject: USB: ohci-sm501: Add missed iounmap() in remove
This driver misses calling iounmap() in remove to undo the ioremap() called in probe.
Add the missed call to fix it.
--- drivers/usb/host/ohci-sm501.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/host/ohci-sm501.c +1 -0
@@ -191,6 +191,7 @@ static int ohci_hcd_sm501_drv_remove(struct platform_device *pdev)struct resource *mem;usb_remove_hcd (hcd); +iounmap (hcd->regs);release_mem_region (hcd->rsrc_start, hcd->rsrc_len);usb_put_hcd (hcd); mem =platform_get_resource (pdev,IORESOURCE_MEM ,1 );
Signature · 1 line
2.27.0