lkml.org 
[lkml]   [2005]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] PCI patches for 2.6.10
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.054 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site