OSDN Git Service

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)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 23 Feb 2019 11:13:45 +0000 (12:13 +0100)
commitb9307420196009cdf18bad55e762ac49fb9a80f4
tree6c42ce2bc760b396358efa21dcabf40cc426f879
parent9fd464fe745c9d3ada46ac4eee9439427a85011a
clocksource/drivers/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>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/exynos_mct.c