X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=Documentation%2Fgpio.txt;h=792faa3c06cf7ccda5ab081dbf568276324538e5;hb=0cc9d5257857608ba85885b75fcada13d359b5d1;hp=a492d92bb098588306ddcee55f92b4935c9d3dc4;hpb=d24450e2075b9ceeef8ad942e6391bc73eae6933;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