]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/core/device.c
pinctrl: add pin control uclass support
[karo-tx-uboot.git] / drivers / core / device.c
index afa4b4fda97809e72f0e671fa6f9307a3a92e88d..a6cd93698f5df210fa5d1d3f5e11f0bef22d5e05 100644 (file)
@@ -15,6 +15,7 @@
 #include <dm/device.h>
 #include <dm/device-internal.h>
 #include <dm/lists.h>
+#include <dm/pinctrl.h>
 #include <dm/platdata.h>
 #include <dm/uclass.h>
 #include <dm/uclass-internal.h>
@@ -286,6 +287,9 @@ int device_probe_child(struct udevice *dev, void *parent_priv)
 
        dev->flags |= DM_FLAG_ACTIVATED;
 
+       /* continue regardless of the result of pinctrl */
+       pinctrl_select_state(dev, "default");
+
        ret = uclass_pre_probe_device(dev);
        if (ret)
                goto fail;