]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commit4670162de77854c149bc77cf08dcc428851d1a0b
tree9b2c5bd2991c91773147223c9c93da26fe7a6a9b
parent5d3e35107b4a0424633e5b5747c18a4c991e3a9b
clocksource/drivers/exynos_mct: Fix error path in timer resources initialization

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit b9307420196009cdf18bad55e762ac49fb9a80f4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/clocksource/exynos_mct.c