clocksource: exynos_mct: Fix error path in timer resources initialization
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Oct 2018 09:43:00 +0000 (11:43 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 17 Sep 2019 07:56:15 +0000 (09:56 +0200)
commit5bdd86a7ada49c994ac86574f11a024df317374c
treeb7a5ee0ce54620315d95cf18612ed50c8b6cda0a
parent5d428dfa183e2604ca18feca69a3ce158a0ba00b
clocksource: exynos_mct: Fix error path in timer resources initialization

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>
drivers/clocksource/exynos_mct.c