Messages in this thread Patch in this message | | | Subject | Re: [PATCH] PCI patches for 2.6.10 | Date | Mon, 10 Jan 2005 09:20:59 -0800 | From | Greg KH <> |
| |
ChangeSet 1.1938.447.18, 2004/12/22 09:46:15-08:00, greg@kroah.com
PCI: fix bttv-driver "cleanup" that called an incorrect function.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |