[PATCH 1/2] video: simplefb-client: populate video mode field

Sascha Hauer sha at pengutronix.de
Mon Oct 4 05:00:40 PDT 2021


On Tue, Aug 24, 2021 at 11:51:18AM +0200, Ahmad Fatoum wrote:
> Video drivers should initialize fb_info->mode, so device parameters for
> mode and enable/disable can function as expected. This wasn't done in
> the simplefb driver so far, fix this.
> 
> This also lets us drop some initialization of the fb_info, because it
> can be calculated from the mode. The very verbose mode info print
> can be dropped as well, because it's now available in devinfo.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  drivers/video/simplefb-client.c | 22 +++++++++++++---------
>  1 file changed, 13 insertions(+), 9 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list