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 a055de96f5
commit f3fe83cbef

View File

@@ -119,6 +119,9 @@ static int pps_gpio_probe(struct platform_device *pdev)
if (of_get_property(np, "assert-falling-edge", NULL))
data->assert_falling_edge = true;
if (of_get_property(np, "capture-clear", NULL))
data->capture_clear = true;
}
/* GPIO setup */