V4L/DVB (10522): em28xx-audio: replace printk with em28xx_errdev

Patch removes printk and place em28xx_errdev macros to provide
information about driver name to dmesg.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Alexey Klimov
2009-02-08 01:16:32 -03:00
committed by Mauro Carvalho Chehab
parent bf510ac380
commit 5c030de475

View File

@@ -231,7 +231,7 @@ static int em28xx_cmd(struct em28xx *dev, int cmd, int arg)
dev->adev.capture_stream = STREAM_OFF;
em28xx_deinit_isoc_audio(dev);
} else {
printk(KERN_ERR "An underrun very likely occurred. "
em28xx_errdev("An underrun very likely occurred. "
"Ignoring it.\n");
}
return 0;