]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitecdde93962eacd9c417977a4eabd318dbb612c11
tree5637b661a33330cd7171f4965a7f430310dec48c
parentcd2fe83a81510acfd1ae29b8ffe04f7ef675c993
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