forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/net/bluetooth/hidp/core.c
....@@ -433,7 +433,7 @@
433433 static void hidp_del_timer(struct hidp_session *session)
434434 {
435435 if (session->idle_to > 0)
436
- del_timer(&session->timer);
436
+ del_timer_sync(&session->timer);
437437 }
438438
439439 static void hidp_process_report(struct hidp_session *session, int type,