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:
parent
9e8c1b0bbf
commit
74fa8cef21
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue