Skip to content

Commit 76a68cd

Browse files
committed
fbdev/fsl-diu-fb: Remove flag FBINFO_DEFAULT
The flag FBINFO_DEFAULT is 0 and has no effect, as struct fbinfo.flags has been allocated to zero by dmam_alloc_coherent(__GFP_ZERO). So do not set it. Flags should signal differences from the default values. After cleaning up all occurrences of FBINFO_DEFAULT, the token will be removed. v2: * fix commit message (Miguel) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Cc: Timur Tabi <timur@kernel.org> Cc: Helge Deller <deller@gmx.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230715185343.7193-7-tzimmermann@suse.de
1 parent b3e148d commit 76a68cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/video/fbdev/fsl-diu-fb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ static int install_fb(struct fb_info *info)
14761476

14771477
info->var.activate = FB_ACTIVATE_NOW;
14781478
info->fbops = &fsl_diu_ops;
1479-
info->flags = FBINFO_DEFAULT | FBINFO_VIRTFB | FBINFO_PARTIAL_PAN_OK |
1479+
info->flags = FBINFO_VIRTFB | FBINFO_PARTIAL_PAN_OK |
14801480
FBINFO_READS_FAST;
14811481
info->pseudo_palette = mfbi->pseudo_palette;
14821482

0 commit comments

Comments
 (0)