File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1684,6 +1684,11 @@ static int gpio_pca_series_init(const struct device *dev)
1684
1684
LOG_ERR ("i2c bus device not found" );
1685
1685
goto out_bus ;
1686
1686
}
1687
+
1688
+ /** device reset */
1689
+ gpio_pca_series_reset (dev );
1690
+ LOG_DBG ("device reset done" );
1691
+
1687
1692
#ifdef GPIO_NXP_PCA_SERIES_DEBUG
1688
1693
# ifdef CONFIG_GPIO_PCA_SERIES_CACHE_ALL
1689
1694
gpio_pca_series_cache_test (dev );
@@ -1702,10 +1707,6 @@ static int gpio_pca_series_init(const struct device *dev)
1702
1707
}
1703
1708
LOG_DBG ("cache init done" );
1704
1709
1705
- /** device reset */
1706
- gpio_pca_series_reset (dev );
1707
- LOG_DBG ("device reset done" );
1708
-
1709
1710
/** configure interrupt */
1710
1711
#ifdef CONFIG_GPIO_PCA_SERIES_INTERRUPT
1711
1712
/** save dev pointer */
You can’t perform that action at this time.
0 commit comments