[PATCH] m920x fixes [9/10]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



s/deb_rc/deb/

Signed-of-by: Aapo Tahkola <aet@xxxxxxxxxxxxxx>

-- 
Aapo Tahkola
diff -r 9be9cec5c641 linux/drivers/media/dvb/dvb-usb/m920x.c
--- a/linux/drivers/media/dvb/dvb-usb/m920x.c	Sat Mar 03 02:07:14 2007 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/m920x.c	Sat Mar 03 02:10:12 2007 +0200
@@ -117,14 +117,14 @@ static int m920x_rc_query(struct dvb_usb
 				goto unlock;
 
 			default:
-				deb_rc("Unexpected rc response %x\n", rc_state[0]);
+				deb("Unexpected rc response %x\n", rc_state[0]);
 				*state = REMOTE_NO_KEY_PRESSED;
 				goto unlock;
 			}
 		}
 
 	if (rc_state[1] != 0)
-		deb_rc("Unknown rc key %x\n", rc_state[1]);
+		deb("Unknown rc key %x\n", rc_state[1]);
 
 	*state = REMOTE_NO_KEY_PRESSED;
 
@@ -284,11 +284,11 @@ static int m920x_firmware_download(struc
 
 	if ((ret = m920x_read(udev, M9205_FILTER, 0x0, 0x8000, read, 4)) != 0)
 		goto done;
-	deb_rc("%x %x %x %x\n", read[0], read[1], read[2], read[3]);
+	deb("%x %x %x %x\n", read[0], read[1], read[2], read[3]);
 
 	if ((ret = m920x_read(udev, M9205_FW, 0x0, 0x0, read, 1)) != 0)
 		goto done;
-	deb_rc("%x\n", read[0]);
+	deb("%x\n", read[0]);
 
 	for (pass = 0; pass < 2; pass++) {
 		for (i = 0; i + (sizeof(u16) * 3) < fw->size;) {
@@ -310,7 +310,7 @@ static int m920x_firmware_download(struc
 					    USB_TYPE_VENDOR | USB_DIR_OUT,
 					    value, index, buff, size, 20);
 				if (ret != size) {
-					deb_rc("error while uploading fw!\n");
+					deb("error while uploading fw!\n");
 					ret = -EIO;
 					goto done;
 				}
@@ -328,7 +328,7 @@ static int m920x_firmware_download(struc
 
 	/* m920x will disconnect itself from the bus after this. */
 	(void) m920x_write(udev, M9205_CORE, 0x01, M9205_FW_GO);
-	deb_rc("firmware uploaded!\n");
+	deb("firmware uploaded!\n");
 
 	done:
 	kfree(buff);
@@ -370,7 +370,7 @@ static int megasky_mt352_demod_init(stru
 	mt352_write(fe, unk1, ARRAY_SIZE(unk1));
 	mt352_write(fe, unk2, ARRAY_SIZE(unk2));
 
-	deb_rc("Demod init!\n");
+	deb("Demod init!\n");
 
 	return 0;
 }
@@ -383,7 +383,7 @@ static struct mt352_config megasky_mt352
 
 static int megasky_mt352_frontend_attach(struct dvb_usb_adapter *adap)
 {
-	deb_rc("megasky_frontend_attach!\n");
+	deb("megasky_frontend_attach!\n");
 
 	if ((adap->fe = dvb_attach(mt352_attach, &megasky_mt352_config, &adap->dev->i2c_adap)) == NULL)
 		return -EIO;
@@ -414,7 +414,7 @@ static int m920x_probe(struct usb_interf
 	struct usb_host_interface *alt;
 	int ret;
 
-	deb_rc("Probed!\n");
+	deb("Probed!\n");
 	
 	if ((ret = dvb_usb_device_init(intf, &megasky_properties, THIS_MODULE, &d)) == 0)
 		goto found;
@@ -425,7 +425,7 @@ static int m920x_probe(struct usb_interf
 
 	alt = usb_altnum_to_altsetting(intf, 1);
 	if (alt == NULL) {
-		deb_rc("No alt found!\n");
+		deb("No alt found!\n");
 		return -ENODEV;
 	}
 
diff -r 9be9cec5c641 linux/drivers/media/dvb/dvb-usb/m920x.h
--- a/linux/drivers/media/dvb/dvb-usb/m920x.h	Sat Mar 03 02:07:14 2007 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/m920x.h	Sat Mar 03 02:10:12 2007 +0200
@@ -4,7 +4,7 @@
 #define DVB_USB_LOG_PREFIX "m920x"
 #include "dvb-usb.h"
 
-#define deb_rc(args...)   dprintk(dvb_usb_m920x_debug,0x01,args)
+#define deb(args...)   dprintk(dvb_usb_m920x_debug,0x01,args)
 
 #define M9205_CORE	0x22
 #define M9205_RC_STATE	0xff51
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux