/* This function will notity sof event to all of function. */
static rt_err_t _sof_notify(udevice_t device)
/* This function will notity sof event to all of function. */
static rt_err_t _sof_notify(udevice_t device)
{
    struct rt_list_node *i;
    ufunction_t func;
    RT_ASSERT(device != RT_NULL);
    for (i=device->curr_cfg->func_list.next;
            i!=&device->curr_cfg->func_list; i=i->next)
    {
        func = (ufunction_t)rt_list_entry(i, struct ufunction, list);
        if(func->ops->sof_handler != RT_NULL)
            func->ops->sof_handler(func);
    }
    return RT_EOK;
}