static void ts_stop_wd_timer(struct ts_data *cd)
{
if (!TS_WATCHDOG_TIMEOUT)
return;
TS_LOG_DEBUG("stop wd\n");
del_timer(&cd->watchdog_timer);
cancel_work_sync(&cd->watchdog_work);
del_timer(&cd->watchdog_timer);
return;
}
del_timer_sync
static void ts_stop_wd_timer(struct ts_data *cd)
{
if (!TS_WATCHDOG_TIMEOUT)
return;
TS_LOG_DEBUG("stop wd\n");
del_timer(&cd->watchdog_timer);
cancel_work_sync(&cd->watchdog_work);
del_timer(&cd->watchdog_timer);
return;
}
del_timer_sync