Merge tag 'fbdev-v4.15' of git://github.com/bzolnier/linux
Pull fbdev updates from Bartlomiej Zolnierkiewicz: "There is nothing really major here (though removal of the dead igafb driver stands out in diffstat). Summary: - convert timers to use timer_setup() (Kees Cook, Thierry Reding) - fix panels support on iMX boards in mxsfb driver (Stefan Agner) - fix timeout on EDID read in udlfb driver (Ladislav Michl) - add missing modes to fix out of bounds access in controlfb driver (Geert Uytterhoeven) - update initialisation paths in sa1100fb driver to be more robust (Russell King) - fix error handling path of ->probe method in au1200fb driver (Christophe JAILLET) - fix handling of cases when either panel or crt is defined in sm501fb driver (Sudip Mukherjee, Colin Ian King) - add ability to the Goldfish FB driver to be recognized by OS via DT (Aleksandar Markovic) - structures constifications (Bhumika Goyal) - misc fixes (Allen Pais, Gustavo A. R. Silva, Dan Carpenter) - misc cleanups (Colin Ian King, Himanshu Jha, Markus Elfring) - remove dead igafb driver" * tag 'fbdev-v4.15' of git://github.com/bzolnier/linux: (42 commits) OMAPFB: prevent buffer underflow in omapfb_parse_vram_param() video: fbdev: sm501fb: fix potential null pointer dereference on fbi fbcon: Initialize ops->info early video: fbdev: Convert timers to use timer_setup() video: fbdev: pxa3xx_gcu: Convert timers to use timer_setup() fbdev: controlfb: Add missing modes to fix out of bounds access video: fbdev: sis_main: mark expected switch fall-throughs video: fbdev: cirrusfb: mark expected switch fall-throughs video: fbdev: aty: radeon_pm: mark expected switch fall-throughs video: fbdev: sm501fb: mark expected switch fall-through in sm501fb_blank_crt video: fbdev: intelfb: remove redundant variables video/fbdev/dnfb: Use common error handling code in dnfb_probe() sm501fb: suspend and resume fb if it exists sm501fb: unregister framebuffer only if registered sm501fb: deallocate colormap only if allocated video: goldfishfb: Add support for device tree bindings Documentation: Add device tree binding for Goldfish FB driver video: udlfb: Fix read EDID timeout video: fbdev: remove dead igafb driver video: fbdev: mxsfb: fix pixelclock polarity ...
This commit is contained in:
@@ -474,7 +474,7 @@ static void auto_update_complete(void *data)
|
||||
jiffies + HWA742_AUTO_UPDATE_TIME);
|
||||
}
|
||||
|
||||
static void hwa742_update_window_auto(unsigned long arg)
|
||||
static void hwa742_update_window_auto(struct timer_list *unused)
|
||||
{
|
||||
LIST_HEAD(req_list);
|
||||
struct hwa742_request *last;
|
||||
@@ -1002,9 +1002,7 @@ static int hwa742_init(struct omapfb_device *fbdev, int ext_mode,
|
||||
hwa742.auto_update_window.height = fbdev->panel->y_res;
|
||||
hwa742.auto_update_window.format = 0;
|
||||
|
||||
init_timer(&hwa742.auto_update_timer);
|
||||
hwa742.auto_update_timer.function = hwa742_update_window_auto;
|
||||
hwa742.auto_update_timer.data = 0;
|
||||
timer_setup(&hwa742.auto_update_timer, hwa742_update_window_auto, 0);
|
||||
|
||||
hwa742.prev_color_mode = -1;
|
||||
hwa742.prev_flags = 0;
|
||||
|
Reference in New Issue
Block a user