[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240630222904.627462-5-bvanassche@acm.org>
Date: Sun, 30 Jun 2024 15:26:22 -0700
From: Bart Van Assche <bvanassche@....org>
To: Tejun Heo <tj@...nel.org>
Cc: Lai Jiangshan <jiangshanlai@...il.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org,
Bart Van Assche <bvanassche@....org>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Mauro Carvalho Chehab <mchehab@...nel.org>
Subject: [PATCH 04/53] media: i2c: adv7511: Switch to create*_workqueue2()
Prepare for removal of the create*_workqueue() macros.
Signed-off-by: Bart Van Assche <bvanassche@....org>
---
drivers/media/i2c/adv7511-v4l2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/i2c/adv7511-v4l2.c b/drivers/media/i2c/adv7511-v4l2.c
index 79946e9c7401..88e065a65ac1 100644
--- a/drivers/media/i2c/adv7511-v4l2.c
+++ b/drivers/media/i2c/adv7511-v4l2.c
@@ -1885,7 +1885,7 @@ static int adv7511_probe(struct i2c_client *client)
goto err_unreg_cec;
}
- state->work_queue = create_singlethread_workqueue(sd->name);
+ state->work_queue = create_singlethread_workqueue2("%s", sd->name);
if (state->work_queue == NULL) {
v4l2_err(sd, "could not create workqueue\n");
err = -ENOMEM;
Powered by blists - more mailing lists