diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2018-06-14 22:59:05 +0300 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:32:14 +0800 |
commit | 2106c06cf4f362fdd184a96ab3c51a8aa9c5194e (patch) | |
tree | 40be3fae5772838577752a5c3230903c50500120 /arch/arm/boot/dts/imx7d-sdb.dts | |
parent | b50db0692564add831840fab864c5097333fd4b8 (diff) |
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>
Diffstat (limited to 'arch/arm/boot/dts/imx7d-sdb.dts')
0 files changed, 0 insertions, 0 deletions