[alsa-devel] [PATCH v4 7/9] davinci: MMC/SD support for Omapl138-Hawkboar

Jon Povey Jon.Povey at racelogic.co.uk
Tue Oct 19 03:16:06 CEST 2010


davinci-linux-open-source-bounces at linux.davincidsp.com wrote:
> I think that you mean that I should not call gpio_direction_input if
> gpio_request failed am I right ?

Yes, if gpio_request() fails that means you have not claimed that gpio,
something else is using it already or it's not available due to other
misconfiguration.

So you shouldn't be trying to set its direction or anything like that.

--
Jon Povey
jon.povey at racelogic.co.uk

Racelogic is a limited company registered in England. Registered number 2743719 .
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB .

The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network




More information about the Alsa-devel mailing list