Files
i2som-imx-linux/drivers/video
Leonard Crestez 2106c06cf4 MLK-18585 video: fb: sii902x: Only bind to first mxs-lcdif FB
This driver registers itself as a fb_client and handles notifications
from all FB in the system.

It can end up trying to call fb_draw_logo on an overlay FB and this will
crash because overlay_fb_ops has no fb_imageblit function.

It also handles blank/unblank indiscriminately and for example if you
connect a second LVDS display on 6sx and blank/unblank it then HDMI will
also incorrectly blank/unblank. This last issue even affects imx_4.9.y

Fix by only processing notifications from the FB that it's bound to.

Bind to the first FB whose name starts with "mxs-lcdif" by checking
fb_info->fix.id on FB_EVENT_FB_REGISTERED.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-by: Robert Chiras <robert.chiras@nxp.com>
2019-02-12 10:32:14 +08:00
..
2019-02-12 10:30:44 +08:00