/* Arguments: hub : input. 待处理的hub Return value: void note: void  */
void kick_khubd(struct usb_hub *hub)
/* Arguments: hub : input. 待处理的hub Return value: void note: void  */
void kick_khubd(struct usb_hub *hub)
{
    uint32_t flags;
    flags = hal_spin_lock_irqsave(&hub_event_lock);
    if (hub)
    {
        list_head_malloc_and_add(hub, &hub_event_list);
        hub_thread_wakeup(&hub_thread_cont);
    }
    hal_spin_unlock_irqrestore(&hub_event_lock, flags);
}