wsysinit: fix gpio 'dp_trig_reset' handling
Signed-off-by: Peter Galka <peter.galka@wago.com>
This commit is contained in:
@@ -89,7 +89,7 @@ static int wsysinit_init_probe_dt(struct platform_device *pdev)
|
||||
struct device_node *np = pdev->dev.of_node;
|
||||
struct __kernel_timex tmx = {0};
|
||||
|
||||
if (of_property_present(np, "dp,rst")) {
|
||||
if (of_property_present(np, "dp,rst-gpios")) {
|
||||
wsysinitset.dp_gpio_rst = devm_gpiod_get(&pdev->dev, "dp,rst", GPIOD_OUT_HIGH);
|
||||
if (IS_ERR(wsysinitset.dp_gpio_rst)) {
|
||||
dev_err(&pdev->dev,
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
-w05.13.00
|
||||
-w05.13.01
|
||||
|
||||
Reference in New Issue
Block a user