usb: reload watchdog during ums command
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 18 Apr 2019 15:18:39 +0000 (17:18 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 21 Apr 2019 08:26:52 +0000 (10:26 +0200)
commit85d0aec0fda21da28ac886b2bf973f0e1c1b8d41
treebe7613df087f78bc5d4e124a26a3cdd2898b22bf
parentd73d9fb7e2384b55a6c1866a5d914a621cf8563a
usb: reload watchdog during ums command

Reload the watchdog in the mass storage command ums
to avoid reboot during the usb waiting loop
when the host doesn't send any request.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
cmd/usb_mass_storage.c