video: bcm2708_fb: Disable FB if no displays found
If the firmware hasn't detected a display, the driver would assume one display was available, but because it had failed to retrieve the display size it would try to allocate a zero-sized buffer. Avoid the allocation failure by bailing out early if no display is found. See: https://github.com/raspberrypi/linux/issues/3598 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Please register or sign in to comment