diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-11-30 10:23:27 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-23 14:43:57 +0100 |
commit | d58f2bf261fdf3a3fc916c9999a686f959dcf6b6 (patch) | |
tree | 8ce132c9047329bbe752cfa6870b9be11ed87503 /kernel/uid16.c | |
parent | 24bd3efc9d1efb5f756a7c6f807a36ddb6adc671 (diff) | |
download | linux-d58f2bf261fdf3a3fc916c9999a686f959dcf6b6.tar.gz linux-d58f2bf261fdf3a3fc916c9999a686f959dcf6b6.tar.bz2 linux-d58f2bf261fdf3a3fc916c9999a686f959dcf6b6.zip |
gpio: Timestamp events in hardirq handler
Add a hardirq handler to the GPIO userspace event loop, making
sure to pick up the timestamp there, as close as possible in time
relative to the actual event causing the interrupt.
Tested with a simple pushbutton GPIO on ux500 and seems to work
fine.
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Reported-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions