diff options
author | afzal mohammed <afzal.mohd.ma@gmail.com> | 2020-03-12 12:18:17 +0530 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-03-12 19:23:06 +0100 |
commit | 470cf1c28d2f601ea666a96d676c10b09b2321ab (patch) | |
tree | d21075b34c65acdb5642661c6adc9495a7d8ae3e /drivers/clocksource/timer-microchip-pit64b.c | |
parent | cc2550b421aa30e3da67e5a7f6d14f3ecd3527b3 (diff) |
clocksource/drivers/timer-cs5535: Request irq with non-NULL dev_id
Recently all usages of setup_irq() was replaced by request_irq().
request_irq() does a few sanity checks that were not done in
setup_irq(), if they fail irq registration will fail. One of the check
is to ensure that non-NULL dev_id is passed in the case of shared irq.
Fix it by passing non-NULL dev_id while registering the shared irq.
Fixes: cc2550b421aa ("clocksource: Replace setup_irq() by request_irq()")
Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200312064817.19000-1-afzal.mohd.ma@gmail.com
Diffstat (limited to 'drivers/clocksource/timer-microchip-pit64b.c')
0 files changed, 0 insertions, 0 deletions