From: Alexey Khoroshilov Date: Sun, 19 Jul 2015 16:13:28 +0000 (+0700) Subject: usb: gadget: mv_udc_core: fix phy_regs I/O memory leak X-Git-Tag: omap-for-v4.3/fixes-merge-window~184^2~14^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53e20f2eb161fbe9eea28b54dccc870cec94eca2;p=pandora-kernel.git usb: gadget: mv_udc_core: fix phy_regs I/O memory leak There was an omission in transition to devm_xxx resource handling. iounmap(udc->phy_regs) were removed, but ioremap() was left without devm_. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Fixes: 3517c31a8ece6 ("usb: gadget: mv_udc: use devm_xxx for probe") Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed