Browse Source

drivers: i2c: omap: Fix for RAM MMIO

- RAM MMIO is initialized using DEVICE_MMIO_MAP. So add it to init code.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
pull/90385/head
Ayush Singh 2 months ago committed by Benjamin Cabé
parent
commit
4c3491d8a4
  1. 2
      drivers/i2c/i2c_omap.c

2
drivers/i2c/i2c_omap.c

@ -684,6 +684,8 @@ static int i2c_omap_init(const struct device *dev) @@ -684,6 +684,8 @@ static int i2c_omap_init(const struct device *dev)
const struct i2c_omap_cfg *cfg = DEV_CFG(dev);
int ret;
DEVICE_MMIO_MAP(dev, K_MEM_CACHE_NONE);
ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT);
if (ret < 0) {
LOG_ERR("failed to apply pinctrl");

Loading…
Cancel
Save