ftl: enable sync-less writes
This commit is contained in:
parent
7125ddadf9
commit
e24012af82
1 changed files with 1 additions and 4 deletions
|
@ -33,10 +33,7 @@ static size_t ftl_flash_write(struct flash_dev *dev, uint32_t addr,
|
||||||
{
|
{
|
||||||
struct ftl_map *map = dev->priv;
|
struct ftl_map *map = dev->priv;
|
||||||
|
|
||||||
len = ftl_write(map, addr, data, len);
|
return ftl_write(map, addr, data, len);
|
||||||
ftl_sync(map);
|
|
||||||
|
|
||||||
return len;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ftl_flash_sync(struct flash_dev *dev)
|
static int ftl_flash_sync(struct flash_dev *dev)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue