Re: [PATCH] media: v4l2-core: expose the device after it was registered.

2019-01-23 Thread xinwu
Hi Sakari, Thanks for your response. On 2019年01月22日 18:03, Sakari Ailus wrote: Hi Xinwu, On Tue, Jan 22, 2019 at 04:34:44PM +0800, Liu, Xinwu wrote: device_register exposes the device to userspace. Therefore, while the register process is ongoing, the userspace program will fail to open

[PATCH] media: v4l2-core: expose the device after it was registered.

2019-01-22 Thread Liu, Xinwu
the device after everythings ready. Signed-off-by: Liu, Xinwu --- drivers/media/v4l2-core/v4l2-dev.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-dev.c b/drivers/media/v4l2-core/v4l2-dev.c index d7528f8..01e5cc9 100644 --- a/drivers

[PATCH v2] thermal/intel_powerclamp: Fix sched_setscheduler fail

2017-01-16 Thread xinwu . liu
From: "Liu, Xinwu" <xinwu@intel.com> The schedule policy of thread "kidle_inject" is SCHED_NORMAL: [ 772.796284] intel_powerclamp: Start idle injection to reduce power [ 772.825757] [ cut here ] [ 772.825877] WARNING: CPU: 0 PID: 2140 at

[PATCH v2] thermal/intel_powerclamp: Fix sched_setscheduler fail

2017-01-16 Thread xinwu . liu
From: "Liu, Xinwu" The schedule policy of thread "kidle_inject" is SCHED_NORMAL: [ 772.796284] intel_powerclamp: Start idle injection to reduce power [ 772.825757] [ cut here ] [ 772.825877] WARNING: CPU: 0 PID: 2140 at ../../../../../../kernel/glv

[PATCH] [PATCH]thermal/intel_powerclamp:fix sched_setscheduler fail

2017-01-11 Thread xinwu . liu
From: "Liu, Xinwu" <xinwu@intel.com> The schedule policy of thread "kidle_inject" is SCHED_NORMAL: [ 772.796284] intel_powerclamp: Start idle injection to reduce power [ 772.825757] [ cut here ] [ 772.825877] WARNING: CPU: 0 PID: 2140 at

[PATCH] [PATCH]thermal/intel_powerclamp:fix sched_setscheduler fail

2017-01-11 Thread xinwu . liu
From: "Liu, Xinwu" The schedule policy of thread "kidle_inject" is SCHED_NORMAL: [ 772.796284] intel_powerclamp: Start idle injection to reduce power [ 772.825757] [ cut here ] [ 772.825877] WARNING: CPU: 0 PID: 2140 at ../../../../../../kernel/glv

[PATCH 1/1] random: fix panic caused by system_wq is not initialization

2017-01-05 Thread xinwu . liu
From: "Liu, Xinwu" <xinwu@intel.com> While booting kernel on simulation environment(very slow), kernel panicked: [ 310.837531] BUG: unable to handle kernel NULL pointer dereference at 0102 [ 310.909223] IP: [] __queue_work+0x2d/0x440 [ 312.023898] Call Tra

[PATCH 1/1] random: fix panic caused by system_wq is not initialization

2017-01-05 Thread xinwu . liu
From: "Liu, Xinwu" While booting kernel on simulation environment(very slow), kernel panicked: [ 310.837531] BUG: unable to handle kernel NULL pointer dereference at 0102 [ 310.909223] IP: [] __queue_work+0x2d/0x440 [ 312.023898] Call Trace: [ 312.046346] [