diff options
author | Yongbae Park <[email protected]> | 2015-03-03 13:05:48 +0900 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2015-03-05 15:01:37 +0100 |
commit | 1096be084ac59927158ce80ff1d31c33eed0e565 (patch) | |
tree | 2dace8accf2d326c7d1b0e08231fe3a27403a9ec /lib/test-string_helpers.c | |
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: [email protected]
Signed-off-by: Yongbae Park <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions