]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clocksource/drivers/exynos_mct: Fix error path in timer resources initialization
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 18 Oct 2018 09:57:04 +0000 (11:57 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 9 Jul 2019 21:04:06 +0000 (22:04 +0100)
commit8659048945a45cb840333e54851f54ef769c66e0
treed2e759dda7f55579f1c888f49016c1a825f3ce71
parent0909b0633f13cf7a1e7de50ef5fa52bb4ee17152
clocksource/drivers/exynos_mct: Fix error path in timer resources initialization

commit b9307420196009cdf18bad55e762ac49fb9a80f4 upstream.

While freeing interrupt handlers in error path, don't assume that all
requested interrupts are per-processor interrupts and properly release
standard interrupts too.

Reported-by: Krzysztof Kozlowski <krzk@kernel.org>
Fixes: 56a94f13919c ("clocksource: exynos_mct: Avoid blocking calls in the cpu hotplug notifier")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/clocksource/exynos_mct.c