added capture_clear option to pps-gpio via dtoverlay (#2433)

This commit is contained in:
hdoverobinson
2018-03-13 06:58:39 -04:00
committed by popcornmix
parent fef281afce
commit 4442a0ee14

View File

@@ -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;
}