[alsa-devel] [PATCH RESEND 1/2] ALSA SOC driver for s3c24xx with uda134x

christian pellegrin chripell at gmail.com
Fri Nov 14 17:32:49 CET 2008


On Fri, Nov 14, 2008 at 12:03 PM, Mark Brown <broonie at 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."


More information about the Alsa-devel mailing list