mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 13:26:41 +07:00
media: coda: improve queue busy error message
Use v4l2_type_names to indicate which of the two queues is busy. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
01a2d72149
commit
299cc3181b
@ -704,7 +704,8 @@ static int coda_s_fmt(struct coda_ctx *ctx, struct v4l2_format *f,
|
||||
return -EINVAL;
|
||||
|
||||
if (vb2_is_busy(vq)) {
|
||||
v4l2_err(&ctx->dev->v4l2_dev, "%s queue busy\n", __func__);
|
||||
v4l2_err(&ctx->dev->v4l2_dev, "%s: %s queue busy: %d\n",
|
||||
__func__, v4l2_type_names[f->type], vq->num_buffers);
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user