commit | 53e20f2eb161fbe9eea28b54dccc870cec94eca2 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sun Jul 19 23:13:28 2015 +0700 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jul 20 12:57:46 2015 -0500 |
tree | 9f076161b5f54b4f871f28174260e70077a31242 | |
parent | 4696b8874d7de39850931888bc9f2aa12d29fb46 [diff] |
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 <khoroshilov@ispras.ru> Fixes: 3517c31a8ece6 ("usb: gadget: mv_udc: use devm_xxx for probe") Signed-off-by: Felipe Balbi <balbi@ti.com>