mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-27 00:04:47 +08:00
media: coda: move register debugging to coda_debug level 3
This allows to use coda_debug level 2 for verbose but not quite as verbose debug logging. Register access level logging is of limited use anyway, as this includes busy polling of status bits. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
5490ba5645
commit
31e71dbcc1
@ -78,7 +78,7 @@ MODULE_PARM_DESC(enable_bwb, "Enable BWB unit for decoding, may crash on certain
|
||||
|
||||
void coda_write(struct coda_dev *dev, u32 data, u32 reg)
|
||||
{
|
||||
v4l2_dbg(2, coda_debug, &dev->v4l2_dev,
|
||||
v4l2_dbg(3, coda_debug, &dev->v4l2_dev,
|
||||
"%s: data=0x%x, reg=0x%x\n", __func__, data, reg);
|
||||
writel(data, dev->regs_base + reg);
|
||||
}
|
||||
@ -88,7 +88,7 @@ unsigned int coda_read(struct coda_dev *dev, u32 reg)
|
||||
u32 data;
|
||||
|
||||
data = readl(dev->regs_base + reg);
|
||||
v4l2_dbg(2, coda_debug, &dev->v4l2_dev,
|
||||
v4l2_dbg(3, coda_debug, &dev->v4l2_dev,
|
||||
"%s: data=0x%x, reg=0x%x\n", __func__, data, reg);
|
||||
return data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user