patch-2.4.6 linux/drivers/media/video/bttv-driver.c

Next file: linux/drivers/media/video/i2c-parport.c
Previous file: linux/drivers/media/radio/rds-miropcm20.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/drivers/media/video/bttv-driver.c linux/drivers/media/video/bttv-driver.c
@@ -2812,8 +2812,7 @@
 
         /* disable PCI bus-mastering */
         pci_read_config_byte(btv->dev, PCI_COMMAND, &command);
-        /* Should this be &=~ ?? */
-        command&=~PCI_COMMAND_MASTER;
+        command &= ~PCI_COMMAND_MASTER;
         pci_write_config_byte(btv->dev, PCI_COMMAND, command);
 
         /* unmap and free memory */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)