Skip to content
Commit caa33233 authored by Weijie Gao's avatar Weijie Gao Committed by Peng Fan
Browse files

mmc: mtk-sd: add WATCHDOG_RESET() to prevent watchdog timeout



When reading large data in once (reading 512MiB is tested on MT7623), a
watchdog timeout is triggered due to watchdog not being fed.

This patch adds WATCHDOG_RESET() to msdc_start_data() so the watchdog will
be fed every 1024 blocks are read/written.

Signed-off-by: default avatarWeijie Gao <weijie.gao@mediatek.com>
parent 58d65d50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment