commit | 61646649a173d956fb3ea549db25e56e942ac74a | [log] [tgz] |
---|---|---|
author | Bartosz Bilas <bartosz.bilas@hotmail.com> | Thu Oct 07 17:08:42 2021 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Nov 04 16:23:05 2021 +0100 |
tree | 09ee396df2967a4471a5b3e0782553bc3267967e | |
parent | 05f326c96e5dccb571ceff0f88b18138344f9b20 [diff] |
drivers: spi_sam: initialize all cs gpios during init In case when we have multiple devices connected to the one SPI interface the initial state of CS gpios after MCU reset is floating and it might be low that prevents us from communicating between particular devices. Fix that by initializing all provided cs gpios and setting them as inactive. Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>