]> git.itanic.dy.fi Git - linux-stable/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)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:38:40 +0000 (15:38 -0400)
commitb680168bd6d720deaa3c790951601c8574a025e5
treeb0672c0ca21ec02465ac0e3333e7cbe359f03a27
parent6aa66b715392942c9b59cc155aa4487099da495c
USB: ohci-sm501: Add missed iounmap() in remove

commit 07c112fb09c86c0231f6ff0061a000ffe91c8eb9 upstream.

This driver misses calling iounmap() in remove to undo the ioremap()
called in probe.
Add the missed call to fix it.

Fixes: f54aab6ebcec ("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