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
Source: kernel.org MR: 103889 Type: Enhancement Disposition: Merged from https://github.com/raspberrypi/linux.git rpi-5.4.y ChangeID: e005a4db95a48e8b14a2017bf56a0e3f3dccfa6d Description: 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: raspberrypi/linux#3598 Signed-off-by: Phil Elwell <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
- Loading branch information