14 Nov
2008
14 Nov
'08
5:32 p.m.
On Fri, Nov 14, 2008 at 12:03 PM, Mark Brown broonie@sirena.org.uk wrote:
On Thu, Nov 13, 2008 at 04:41:56PM +0100, Christian Pellegrin wrote:
gpio_direction_output(s3c24xx_uda134x_l3_pins->l3_data, 0);
gpio_direction_output(s3c24xx_uda134x_l3_pins->l3_clk, 0);
gpio_direction_output(s3c24xx_uda134x_l3_pins->l3_mode, 0);
You should request the GPIOs with gpio_request() before using them (and then free them with gpio_free() when the driver exits).
ack
--
Christian Pellegrin, see http://www.evolware.org/chri/
"Real Programmers don't play tennis, or any other sport which requires
you to change clothes. Mountain climbing is OK, and Real Programmers
wear their climbing boots to work in case a mountain should suddenly
spring up in the middle of the computer room."