Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e581c8c8 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

USB: imx21-hcd - fix off by one resource size calculation

parent bd688268
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1906,7 +1906,7 @@ static int imx21_probe(struct platform_device *pdev)
failed_clock_get:
	iounmap(imx21->regs);
failed_ioremap:
	release_mem_region(res->start, res->end - res->start);
	release_mem_region(res->start, resource_size(res));
failed_request_mem:
	remove_debug_files(imx21);
	usb_put_hcd(hcd);