Re: [PATCH] OMAP: LCD: Use omap_rev check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Aguirre Rodriguez, Sergio Alberto <saaguirre@xxxxxx> [081107 08:09]:
> From: Sergio Aguirre <saaguirre@xxxxxx>
> 
> 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 <saaguirre@xxxxxx>
> ---
>  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 majordomo@xxxxxxxxxxxxxxx
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux