Skip to content
Snippets Groups Projects
Commit b2bdba08 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

S25FL1 FLASH driver: Fix return value from the bwrite() method

parent 41337324
No related branches found
No related tags found
No related merge requests found
......@@ -10881,7 +10881,7 @@
device (2015-08-24).
* networking: Correct return value from psock_tcp_accept(). From
SaeHie Park (2015-08-25).
* drivers/mtd/st25fl1.c: Add a driver for ST25L1*K QuadSPI parts
* drivers/mtd/s25fl1.c: Add a driver for ST25L1*K QuadSPI parts
(2015-08-25).
* include/nuttx/spi/qspi.h: Develop a new interface for QSPI, at
least the way that QSPI is implemented on the SAMV71. Originally
......@@ -11071,4 +11071,6 @@
* arch/arm/src/samv7: Add a call to can_txready() to the MCAN driver
(2015-11-03).
* arch/arm/src/samv7: Add MPU and protected build support (2015-11-06).
* arch/arm/src/samv7: The QSPI FLASH driver is now functional. This
driver operates in the memory-mapped, Serial Memory Mode (SMM)
(2015-11-07).
arch @ 2137b6c7
Subproject commit dd5268721c6a5c05ebd441556d3fddeb4b1d0509
Subproject commit 2137b6c754118003664432d16dd4b69685939c74
configs @ 8e4edaaa
Subproject commit 449de6ca27fc922687fe586aa65742cffbf2bc2e
Subproject commit 8e4edaaa0293ae3ca1517f6798694d8e96c553bb
......@@ -1289,7 +1289,7 @@ static ssize_t st25fl1_bwrite(FAR struct mtd_dev_s *dev, off_t startblock,
st25fl1_unlock(priv->qspi);
return ret;
return ret < 0 ? ret : nblocks;
}
/************************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment