All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features
This commit is contained in:
parent
3850b9b70c
commit
00aaceaf2f
@ -35,6 +35,7 @@ int board_power_off(int status)
|
||||
struct spi_dev_s *spi = up_spiinitialize(0);
|
||||
|
||||
SPI_SETBITS(spi, 16);
|
||||
(void)SPI_HWFEATURES(spi, 0);
|
||||
|
||||
tx = (1 << 6) | (1 << 1);
|
||||
SPI_SNDBLOCK(spi, &tx, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user