Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] bt878.c: decimal vs. hex coding error.
This patch fixes a decimal vs. hex coding error.
A better fix (that I'm not voluntering to do) would
be to replace the use of magic numbers with #defines
for the register values.
This is against the version in 2.6.8.1 kernel.
Barry
--- ./drivers/media/dvb/bt8xx/bt878.c.orig 2004-08-14 11:55:32.000000000
+0100
+++ ./drivers/media/dvb/bt8xx/bt878.c 2004-09-15 10:22:14.000000000 +0100
@@ -513,7 +513,7 @@
printk("bt878(%d): unloading\n", bt->nr);
/* turn off all capturing, DMA and IRQs */
- btand(~13, BT878_AGPIO_DMA_CTL);
+ btand(~0x13, BT878_AGPIO_DMA_CTL);
/* first disable interrupts before unmapping the memory! */
btwrite(0, BT878_AINT_MASK);
Home |
Main Index |
Thread Index