X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=Documentation%2Fgpio.txt;h=792faa3c06cf7ccda5ab081dbf568276324538e5;hb=8bc26a008f61eac5631701cbd65f88c015a63280;hp=a492d92bb098588306ddcee55f92b4935c9d3dc4;hpb=008d23e4852d78bb2618f2035f8b2110b6a6b968;p=mv-sheeva.git diff --git a/Documentation/gpio.txt b/Documentation/gpio.txt index a492d92bb09..792faa3c06c 100644 --- a/Documentation/gpio.txt +++ b/Documentation/gpio.txt @@ -135,7 +135,7 @@ setting up a platform_device using the GPIO, is mark its direction: int gpio_direction_input(unsigned gpio); int gpio_direction_output(unsigned gpio, int value); -The return value is zero for success, else a negative errno. It must +The return value is zero for success, else a negative errno. It should be checked, since the get/set calls don't have error returns and since misconfiguration is possible. You should normally issue these calls from a task context. However, for spinlock-safe GPIOs it's OK to use them