commit | 1096be084ac59927158ce80ff1d31c33eed0e565 | [log] [tgz] |
---|---|---|
author | Yongbae Park <yongbae2@gmail.com> | Tue Mar 03 13:05:48 2015 +0900 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Thu Mar 05 15:01:37 2015 +0100 |
tree | 2dace8accf2d326c7d1b0e08231fe3a27403a9ec | |
parent | 7b8f10da3bf1056546133c9f54f49ce389fd95ab [diff] |
clockevents: sun5i: Fix setup_irq init sequence The interrupt is enabled before the handler is set. Even this bug did not appear, it is potentially dangerous as it can lead to a NULL pointer dereference. Fix the error by enabling the interrupt after clockevents_config_and_register() is called. Cc: stable@vger.kernel.org Signed-off-by: Yongbae Park <yongbae2@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>