Commit 3df31a7b authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] miropcm20-radio cleanup

This is cleanup of file miropcm20-radio.c

Compile tested.
Signed-off-by: default avatarMarcel Sebek <sebek64@post.cz>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 439b0336
......@@ -75,9 +75,7 @@ static int pcm20_getflags(struct pcm20_device *dev, __u32 *flags, __u16 *signal)
if ((i=aci_rw_cmd(ACI_READ_TUNERSTATION, -1, -1))<0)
return i;
#ifdef DEBUG
printk("check_sig: 0x%x\n", i);
#endif
pr_debug("check_sig: 0x%x\n", i);
if (i & 0x80) {
/* no signal from tuner */
*flags=0;
......@@ -107,9 +105,7 @@ static int pcm20_getflags(struct pcm20_device *dev, __u32 *flags, __u16 *signal)
if ((i=aci_rds_cmd(RDS_RXVALUE, &buf, 1))<0)
return i;
#ifdef DEBUG
printk("rds-signal: %d\n", buf);
#endif
pr_debug("rds-signal: %d\n", buf);
if (buf > 15) {
printk("miropcm20-radio: RX strengths unexpected high...\n");
buf=15;
......@@ -172,9 +168,7 @@ static int pcm20_do_ioctl(struct inode *inode, struct file *file,
unsigned long *freq = arg;
pcm20->freq = *freq;
i=pcm20_setfreq(pcm20, pcm20->freq);
#ifdef DEBUG
printk("First view (setfreq): 0x%x\n", i);
#endif
pr_debug("First view (setfreq): 0x%x\n", i);
return i;
}
case VIDIOCGAUDIO:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment