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

Commit 0bf6e2ec authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Tony Lindgren
Browse files

OMAP3+: smartreflex: fix sr_late_init() error path in probe



sr_late_init() will take care of freeing the resources.

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
parent e15d13f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -883,7 +883,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
		ret = sr_late_init(sr_info);
		if (ret) {
			pr_warning("%s: Error in SR late init\n", __func__);
			goto err_release_region;
			return ret;
		}
	}