]> git.baikalelectronics.ru Git - kernel.git/commit
PCIe: fix double initialization bug
authorMark Lord <lkml@rtr.ca>
Wed, 21 Nov 2007 23:07:55 +0000 (15:07 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:23 +0000 (15:04 -0800)
commit0e068d47b04ea9ad172b889bc8efa22ba49bfdf2
tree5637b661a33330cd7171f4965a7f430310dec48c
parent79f9dbe5d5b954d0c490a19a76a3364b874a42fa
PCIe: fix double initialization bug

Earlier patches to split out the hardware init for PCIe hotplug resulted in
some one-time initializations being redone on every resume cycle.  Eg.
irq/polling initialization.

This patch splits the hardware init into two parts, and separates the
one-time initializations from those so that they only ever get done once,
as intended.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_hpc.c