2
0
forked from Ivasoft/openwrt

make gpio conformant to generic gpio spec.

SVN-Revision: 8911
This commit is contained in:
Eugene Konev
2007-09-21 12:37:50 +00:00
parent d725c9b25b
commit 041a03c5bd
5 changed files with 33 additions and 33 deletions

View File

@@ -73,7 +73,7 @@ static ssize_t ar7_gpio_write(struct file *file, const char __user *buf,
case 'o':
case 'O':
case '>':
gpio_direction_output(pin);
gpio_direction_output(pin, 0);
break;
default:
return -EINVAL;