projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e96e7
)
added capture_clear option to pps-gpio via dtoverlay (#2433)
author
hdoverobinson
<hdoverobinson@gmail.com>
Tue, 13 Mar 2018 10:58:39 +0000
(06:58 -0400)
committer
popcornmix
<popcornmix@gmail.com>
Wed, 27 Jan 2021 19:12:54 +0000
(19:12 +0000)
drivers/pps/clients/pps-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/pps/clients/pps-gpio.c
b/drivers/pps/clients/pps-gpio.c
index
e0de1df
..
ee7d8f4
100644
(file)
--- a/
drivers/pps/clients/pps-gpio.c
+++ b/
drivers/pps/clients/pps-gpio.c
@@
-145,6
+145,8
@@
static int pps_gpio_setup(struct platform_device *pdev)
if (of_property_read_bool(np, "assert-falling-edge"))
data->assert_falling_edge = true;
+ if (of_property_read_bool(np, "capture-clear"))
+ data->capture_clear = true;
return 0;
}