Commit cf351f18 authored by Fancy Fang's avatar Fancy Fang Committed by Nitin Garg
Browse files

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: default avatarFancy Fang <chen.fang@freescale.com>
parent 2c8603c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment