drivers: Apply SPI API change to relevant places
Mostly drivers, but also one sample and one test. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
f8cc93de8c
commit
f6be2835bd
31 changed files with 81 additions and 65 deletions
|
@ -76,7 +76,8 @@ static int spi_cc13xx_cc26xx_configure(const struct device *dev,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
if ((config->operation & SPI_LINES_MASK) != SPI_LINES_SINGLE) {
|
||||
if (IS_ENABLED(CONFIG_SPI_EXTENDED_MODES) &&
|
||||
(config->operation & SPI_LINES_MASK) != SPI_LINES_SINGLE) {
|
||||
LOG_ERR("Multiple lines are not supported");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue