* Aguirre Rodriguez, Sergio Alberto <[EMAIL PROTECTED]> [081107 08:09]:
> From: Sergio Aguirre <[EMAIL PROTECTED]>
>
> OMAP: LCD: Use omap_rev check
>
> This patch fixes correct detection of OMAP revision for
> LCD driver. This makes Tux look correct on my ES3 SDP board.
Thanks, pushing.
Tony
> Signed-off-by: Sergio Aguirre <[EMAIL PROTECTED]>
> ---
> drivers/video/omap/lcd_2430sdp.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Index: linux-omap-2.6/drivers/video/omap/lcd_2430sdp.c
> ===================================================================
> --- linux-omap-2.6.orig/drivers/video/omap/lcd_2430sdp.c
> +++ linux-omap-2.6/drivers/video/omap/lcd_2430sdp.c
> @@ -88,7 +88,7 @@ static int sdp2430_panel_enable(struct l
> grp_reg = TWL4030_VAUX3_DEV_GRP;
> grp_val = ENABLE_VAUX3_DEV_GRP;
>
> - if (system_rev > OMAP3430_REV_ES1_0) {
> + if (omap_rev() > OMAP3430_REV_ES1_0) {
> t2_out(PM_RECEIVER, ENABLE_VPLL2_DEDICATED,
> TWL4030_VPLL2_DEDICATED);
> t2_out(PM_RECEIVER, ENABLE_VPLL2_DEV_GRP,
> @@ -116,7 +116,7 @@ static void sdp2430_panel_disable(struct
> {
> omap_set_gpio_dataout(enable_gpio, 0);
> omap_set_gpio_dataout(backlight_gpio, 0);
> - if (system_rev > OMAP3430_REV_ES1_0) {
> + if (omap_rev() > OMAP3430_REV_ES1_0) {
> t2_out(PM_RECEIVER, 0x0, TWL4030_VPLL2_DEDICATED);
> t2_out(PM_RECEIVER, 0x0, TWL4030_VPLL2_DEV_GRP);
> mdelay(4);
>
> --
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html