MLK-11412 video: mxsfb: add modelist empty check before using it
When the disp-dev is assigned, the fb modelist will be empty
before it is first accessed in the fb probe stage. So it needs
to add this list empty check before using it to avoid get some
invalid data.
Signed-off-by:
Fancy Fang <chen.fang@freescale.com>
Loading
Please sign in to comment