mtd/ramtron.c: Reassert CS between commands
This commit is contained in:
parent
f86ceea099
commit
5588bc4ef6
@ -892,6 +892,8 @@ static ssize_t ramtron_read(FAR struct mtd_dev_s *dev,
|
||||
* enable state
|
||||
*/
|
||||
|
||||
SPI_SELECT(priv->dev, SPIDEV_FLASH(0), false);
|
||||
SPI_SELECT(priv->dev, SPIDEV_FLASH(0), true);
|
||||
SPI_SEND(priv->dev, RAMTRON_RDSR);
|
||||
status = SPI_SEND(priv->dev, RAMTRON_DUMMY);
|
||||
if ((status & ~RAMTRON_SR_SRWD) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user