Re: [PATCH] PCI patches for 2.6.10

From: Greg KH
Date: Mon Jan 10 2005 - 12:43:41 EST


ChangeSet 1.1938.447.18, 2004/12/22 09:46:15-08:00, greg@xxxxxxxxx

PCI: fix bttv-driver "cleanup" that called an incorrect function.

Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


drivers/media/video/bttv-driver.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/media/video/bttv-driver.c b/drivers/media/video/bttv-driver.c
--- a/drivers/media/video/bttv-driver.c 2005-01-10 08:59:42 -08:00
+++ b/drivers/media/video/bttv-driver.c 2005-01-10 08:59:42 -08:00
@@ -3942,7 +3942,7 @@

/* save pci state */
pci_save_state(pci_dev);
- if (0 != pci_set_power_state(pci_dev, device_to_pci_power(pci_dev, state))) {
+ if (0 != pci_set_power_state(pci_dev, pci_choose_state(pci_dev, state))) {
pci_disable_device(pci_dev);
btv->state.disabled = 1;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/