From 00aaceaf2f6496beeb02fee880146c7fd264df02 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 23 Jan 2016 16:17:42 -0600 Subject: [PATCH] All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features --- arch/arm/src/calypso/calypso_power.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/src/calypso/calypso_power.c b/arch/arm/src/calypso/calypso_power.c index 6f9cfc8ebf..35a3472aee 100644 --- a/arch/arm/src/calypso/calypso_power.c +++ b/arch/arm/src/calypso/calypso_power.c @@ -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);