One of the GPIO pins on my dm355 board is connected to a reset pin on my CMOS sensor. I tried the following two commands to deassert a reset signal. I tried those commands in arch/arm-mach-davinci/board-dm355-evm.c. The output stayed low. I also tried them in the mt9t031.c and had the same result.
gpio_request(80, "MT9T_RESET");
gpio_direction_output(80, 1); // reset high (deasserted)
What is the proper way to control the GPIOs?