]> git.ipfire.org Git - people/ms/u-boot.git/commit
usb:gadget:f_thor: fix write to filesystem by add dfu_flush()
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Fri, 18 Apr 2014 07:48:25 +0000 (09:48 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 30 Apr 2014 08:30:57 +0000 (10:30 +0200)
commitfd2a89b20ba66d76929f672b03f392733fb1b2a6
treeab65175a1f96333ecef9a2250e823d7f43d2ad9a
parentadfc17bf09ba67cff11472ffa58fc0208defa29c
usb:gadget:f_thor: fix write to filesystem by add dfu_flush()

Since dfu read/write operations needs to be flushed manually,
writing to filesystem on MMC by thor was broken. MMC raw write
actually is working fine because current dfu_flush() function
writes filesystem only. This commit adds dfu_flush() to f_thor
and now filesystem write is working.

This change was tested on Trats2 board.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
drivers/usb/gadget/f_thor.c