From 4f07fac5fce6fc536efd09c2126344cbf2bfdde9 Mon Sep 17 00:00:00 2001 From: Jordan Yates Date: Thu, 18 Jun 2020 18:13:35 +1000 Subject: [PATCH] ieee802154: cc1200: Add chip select flags Adds the chip select devicetree flags to the spi_cs_control instance. Signed-off-by: Jordan Yates --- drivers/ieee802154/ieee802154_cc1200.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ieee802154/ieee802154_cc1200.c b/drivers/ieee802154/ieee802154_cc1200.c index bc4bd8c5017..3bdd7c2461d 100644 --- a/drivers/ieee802154/ieee802154_cc1200.c +++ b/drivers/ieee802154/ieee802154_cc1200.c @@ -770,6 +770,7 @@ static int configure_spi(struct device *dev) } cs_ctrl.gpio_pin = DT_INST_SPI_DEV_CS_GPIOS_PIN(0); + cs_ctrl.gpio_dt_flags = DT_INST_SPI_DEV_CS_GPIOS_FLAGS(0); cs_ctrl.delay = 0U; cc1200->spi_cfg.cs = &cs_ctrl;