static void anx7808_work_func(struct work_struct *work) { #ifndef EYE_TEST struct anx7808_data *td = container_of(work, struct anx7808_data, work.work); slimport_main_proc(td); queue_delayed_work(td->workqueue, &td->work, msecs_to_jiffies(300)); #endif }
static void anx7808_work_func(struct work_struct *work) { #ifndef EYE_TEST struct anx7808_data *td = container_of(work, struct anx7808_data, work.work); /// printk("##############anx7808_work_func++++++++++++++++++++\n"); //return ; slimport_main_proc(td); // printk("queue_delayed_work for 300 ms\n"); queue_delayed_work(td->workqueue, &td->work, msecs_to_jiffies(300)); /// printk("##############anx7808_work_func--------------------------\n"); #endif }