summaryrefslogtreecommitdiff
path: root/driver/touchpad_st.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/touchpad_st.c')
-rw-r--r--driver/touchpad_st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/touchpad_st.c b/driver/touchpad_st.c
index a77ee2590f..56633bad16 100644
--- a/driver/touchpad_st.c
+++ b/driver/touchpad_st.c
@@ -1223,7 +1223,7 @@ int touchpad_update_write(int offset, int size, const uint8_t *data)
CPRINTS("%s: End update, wait for reset.", __func__);
ret = st_tp_panel_init(full_init_required);
- task_set_event(TASK_ID_TOUCHPAD, TASK_EVENT_TP_UPDATED, 0);
+ task_set_event(TASK_ID_TOUCHPAD, TASK_EVENT_TP_UPDATED);
return ret;
}
@@ -1509,7 +1509,7 @@ void touchpad_task(void *u)
#if defined(CONFIG_USB_SUSPEND) || defined(CONFIG_TABLET_MODE)
static void touchpad_power_change(void)
{
- task_set_event(TASK_ID_TOUCHPAD, TASK_EVENT_POWER, 0);
+ task_set_event(TASK_ID_TOUCHPAD, TASK_EVENT_POWER);
}
#endif
#ifdef CONFIG_USB_SUSPEND