Parcourir la source

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>
Alexey Klimov il y a 16 ans
Parent
commit
5c030de475
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      drivers/media/video/em28xx/em28xx-audio.c

+ 1 - 1
drivers/media/video/em28xx/em28xx-audio.c

@@ -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;