]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: arcfb: add missed free_irq and fix the order of request_irq
authorChuhong Yuan <hslester96@gmail.com>
Tue, 24 Mar 2020 13:23:53 +0000 (21:23 +0800)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 17 Apr 2020 13:50:13 +0000 (15:50 +0200)
commitb29622d52b2ee3e88be424746661a8e781da7d4b
tree8ceefab89e3e00a43aad597bea01e6cd72c4d97b
parent250545c2154bacf1e6b95d6b256484b707faadd7
video: fbdev: arcfb: add missed free_irq and fix the order of request_irq

The driver forgets to free irq in remove which is requested in
probe.
Add the missed call to fix it.
Also, the position of request_irq() in probe should be put before
register_framebuffer().

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200324132353.21785-1-hslester96@gmail.com
drivers/video/fbdev/arcfb.c