drivers: bluetooth: hci_spi: add missing gpio_dt_flags to spi_cs_config

Fixes #27280 by adding the new gpio_dt_flags to the
HCI spi cs config.

Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
This commit is contained in:
Jeremy LOCHE 2020-07-31 10:37:00 +02:00 committed by Carles Cufí
commit 74fa8cef21

View file

@ -258,7 +258,8 @@ static int configure_cs(void)
#ifdef GPIO_CS_PIN
static struct spi_cs_control spi_conf_cs;
spi_conf_cs.gpio_pin = GPIO_CS_PIN,
spi_conf_cs.gpio_pin = GPIO_CS_PIN;
spi_conf_cs.gpio_dt_flags = GPIO_CS_FLAGS;
spi_conf_cs.gpio_dev = device_get_binding(
DT_INST_SPI_DEV_CS_GPIOS_LABEL(0));
if (!spi_conf_cs.gpio_dev) {