Re: [PATCH V2] ARM: EXYNOS4: Add machine support for 7" LCD on ORIGEN

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

 



On Wed, Sep 14, 2011 at 8:01 AM, Tushar Behera <tushar.behera@xxxxxxxxxx> wrote:
...
> +static void lcd_hv070wsa_set_power(struct plat_lcd_data *pd, unsigned int power)
> +{
> +       int gpio = EXYNOS4_GPE3(4);
> +
> +       gpio_request(gpio, "GPE3_4");
> +       gpio_direction_output(gpio, power);

You should check for returned errors for these functions.

Regards,

Fabio Estevam
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux