]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
timbgpio: add support for interrupt triggering on both flanks
authorRichard Röjfors <richard.rojfors@pelagicore.com>
Fri, 5 Mar 2010 21:44:35 +0000 (13:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:48 +0000 (11:26 -0800)
commit8c35c89aa3d7e0f253c3a10456a8b075288b4565
tree571fa92195a23fbd6cab7de7cba099aa69da7269
parent3e45f1d1155894e6f4291f5536b224874d52d8e2
timbgpio: add support for interrupt triggering on both flanks

Introduce support for triggering interrupts on both rising and falling
edge.

This feature requires version 3 or newer of the IP, a version check is
done when triggering on both edges is requested.

Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/timbgpio.c