aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-09-23 14:50:01 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-09-23 14:50:01 +0200
commit0576578741cafcb188ef8ee830e1d4d5acbee96b (patch)
tree7f478875f66a421b0204b2be7365e00c7592f597
parent3dea2c446a21be2bdbe25d02221de1896f025925 (diff)
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--drivers/media/test-drivers/vidtv/vidtv_mux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/test-drivers/vidtv/vidtv_mux.c b/drivers/media/test-drivers/vidtv/vidtv_mux.c
index b51e6a3b8cbe..13adab5de3fa 100644
--- a/drivers/media/test-drivers/vidtv/vidtv_mux.c
+++ b/drivers/media/test-drivers/vidtv/vidtv_mux.c
@@ -396,6 +396,7 @@ static void vidtv_mux_tick(struct work_struct *work)
u32 nbytes;
u32 npkts;
+ pr_info("vidtv_mux_tick1\n");
while (m->streaming) {
nbytes = 0;
@@ -452,6 +453,7 @@ static void vidtv_mux_tick(struct work_struct *work)
usleep_range(VIDTV_SLEEP_USECS, VIDTV_MAX_SLEEP_USECS);
}
+ pr_info("vidtv_mux_tick2\n");
}
void vidtv_mux_start_thread(struct vidtv_mux *m)
@@ -462,12 +464,14 @@ void vidtv_mux_start_thread(struct vidtv_mux *m)
}
m->streaming = true;
+ pr_info("vidtv_mux_start_thread\n");
m->timing.start_jiffies = get_jiffies_64();
schedule_work(&m->mpeg_thread);
}
void vidtv_mux_stop_thread(struct vidtv_mux *m)
{
+ pr_info("vidtv_mux_stop_thread %d\n", m->streaming);
if (m->streaming) {
m->streaming = false; /* thread will quit */
cancel_work_sync(&m->mpeg_thread);

Privacy Policy