Skip to content

Commit 0bda5bf

Browse files
hdoverobinsonpopcornmix
authored andcommitted
added capture_clear option to pps-gpio via dtoverlay (raspberrypi#2433)
1 parent 13e96e7 commit 0bda5bf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/pps/clients/pps-gpio.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ static int pps_gpio_setup(struct platform_device *pdev)
145145

146146
if (of_property_read_bool(np, "assert-falling-edge"))
147147
data->assert_falling_edge = true;
148+
if (of_property_read_bool(np, "capture-clear"))
149+
data->capture_clear = true;
148150
return 0;
149151
}
150152

0 commit comments

Comments
 (0)