Эх сурвалжийг харах

Merge branch 'fbdev-for-linus' into fbdev-next

Florian Tobias Schandinat 13 жил өмнө
parent
commit
0d04c58aa4

+ 1 - 1
drivers/video/omap2/displays/Kconfig

@@ -12,7 +12,7 @@ config PANEL_GENERIC_DPI
 
 
 config PANEL_DVI
 config PANEL_DVI
 	tristate "DVI output"
 	tristate "DVI output"
-	depends on OMAP2_DSS_DPI
+	depends on OMAP2_DSS_DPI && I2C
 	help
 	help
 	  Driver for external monitors, connected via DVI. The driver uses i2c
 	  Driver for external monitors, connected via DVI. The driver uses i2c
 	  to read EDID information from the monitor.
 	  to read EDID information from the monitor.

+ 6 - 0
drivers/video/omap2/dss/apply.c

@@ -1276,6 +1276,9 @@ int dss_ovl_enable(struct omap_overlay *ovl)
 
 
 	spin_unlock_irqrestore(&data_lock, flags);
 	spin_unlock_irqrestore(&data_lock, flags);
 
 
+	/* wait for overlay to be enabled */
+	wait_pending_extra_info_updates();
+
 	mutex_unlock(&apply_lock);
 	mutex_unlock(&apply_lock);
 
 
 	return 0;
 	return 0;
@@ -1313,6 +1316,9 @@ int dss_ovl_disable(struct omap_overlay *ovl)
 
 
 	spin_unlock_irqrestore(&data_lock, flags);
 	spin_unlock_irqrestore(&data_lock, flags);
 
 
+	/* wait for the overlay to be disabled */
+	wait_pending_extra_info_updates();
+
 	mutex_unlock(&apply_lock);
 	mutex_unlock(&apply_lock);
 
 
 	return 0;
 	return 0;