Re: [PATCH] OMAP: Switch to gpio_direction_output in OMAP_LDP.

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

 



On Thu, 2008-11-20 at 23:52 -0800, David Brownell wrote:
> On Thursday 20 November 2008, stanley.miao wrote:
> > 
> > > Use gpio_set_value() to replace omap_set_gpio_dataout(), except
> > > when initializing.  The reset pin *was* being toggled...
> > 
> > These actions are in init function. so keep omap_set_gpio_dataout() in
> > place.

Sorry, it should be "keep gpio_direction_out() in place". I made a
mistake, but the code is right.

Stanley.

> 
> No, omap_set_gpio_dataout() is gone.  You can't call it any more.
> 
>   gpio_direction_output(gpio, initial_value)
> 
> is what you'd want after gpio_request().


--
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