]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ohci-sm501: Add missed iounmap() in remove
authorChuhong Yuan <hslester96@gmail.com>
Wed, 10 Jun 2020 02:48:44 +0000 (10:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2020 08:42:53 +0000 (10:42 +0200)
commitf66089e595b1e923eb7b6a2c24aec9bcb349532b
tree3f826fd9ae26aa4569e748870c53f684a66a96e0
parent765de8a190df24437488f0ce3254797102a6fde5
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.

Fixes: d367cfac7178 ("usb: ohci-sm501 driver")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20200610024844.3628408-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-sm501.c