drivers/video: remove pxafb enable on load
As pxafb can rely on a PWM to control backlight, and because driver dependencies are hard to deal with, remove automatic enable of PXAFB on probe. The user should in its environment do a : - fb0.enable=1 This way, the PWM has been probed and is ready to work, and the pxafb backlight control works. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
bf841a598e
commit
b1cf1685d3
|
@ -64,7 +64,6 @@ struct pxafb_videomode {
|
|||
struct pxafb_platform_data {
|
||||
struct pxafb_videomode *mode;
|
||||
unsigned int lcd_conn;
|
||||
int enable_on_load;
|
||||
|
||||
/** force a memory area to be used, else NULL for dynamic allocation */
|
||||
void *framebuffer;
|
||||
|
|
|
@ -538,9 +538,6 @@ static int pxafb_probe(struct device_d *dev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
if (pdata->enable_on_load)
|
||||
info->fbops->fb_enable(info);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue