Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: #3598 Signed-off-by: Phil Elwell <[email protected]>
- Loading branch information