On Thu, 2 Dec 2010, Hao Wu wrote: > +#elif defined(CONFIG_X86_MRST) > +static void hcd_pci_set_platform_config(struct pci_dev *pci_dev, int enable) > +{ > + /* Check if it is Intel Medfield platform */ > + if (pci_dev->vendor == PCI_VENDOR_ID_INTEL && > + pci_dev->device == 0x0829) { > + if (enable) { > + pci_restore_state(pci_dev); > + pci_set_power_state(pci_dev, PCI_D0); > + } else { > + pci_save_state(pci_dev); > + pci_set_power_state(pci_dev, PCI_D3hot); > + } > + } > +} Why do you need this routine? Doesn't the PCI core already do this for you? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html