>
> Intead of __gpio_set_value(), this should be
>
> gpio_direction_output(ETK_GPIO(gpio), value);
>
> Because otherwise, the default direction defaults to input.
>
Yes. The user should set the direction to output by himself. The idea is
that the kernel code should always be able to toggle
"Peter 'p2' De Schrijver" <[EMAIL PROTECTED]> writes:
> Signed-off-by: Peter 'p2' De Schrijver <[EMAIL PROTECTED]>
> ---
> arch/arm/mach-omap2/debobs.c | 239
> ++
> arch/arm/plat-omap/include/mach/debobs.h |7 +
> 2 files changed, 246 insertions(+),
Signed-off-by: Peter 'p2' De Schrijver <[EMAIL PROTECTED]>
---
arch/arm/mach-omap2/debobs.c | 239 ++
arch/arm/plat-omap/include/mach/debobs.h |7 +
2 files changed, 246 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-omap2/debobs.c
cr