mirror of https://gitee.com/openkylin/linux.git
media: ddbridge: dev_* logging fixup
Fixup commitd52786ddd2
("media: ddbridge: make (ddb)readl in while-loops fail-safe") after/wrt commit11e358bf37
("media: ddbridge: use dev_* macros in favor of printk") Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
b3d930aaf7
commit
456698e93d
|
@ -122,7 +122,7 @@ static inline u32 safe_ddbreadl(struct ddb *dev, u32 adr)
|
|||
|
||||
/* (ddb)readl returns (uint)-1 (all bits set) on failure, catch that */
|
||||
if (val == ~0) {
|
||||
printk(KERN_ERR "ddbreadl failure, adr=%08x\n", adr);
|
||||
dev_err(&dev->pdev->dev, "ddbreadl failure, adr=%08x\n", adr);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue