]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] PCI Hotplug: Fix echoing 1 to power file of enabled slot problem with SHPC...
authorDely Sy <dlsy@snoqualmie.dp.intel.com>
Thu, 5 May 2005 18:57:25 +0000 (11:57 -0700)
committerGreg KH <gregkh@suse.de>
Tue, 17 May 2005 21:31:10 +0000 (14:31 -0700)
commitee17fd93a5892c162b0a02d58cdfdb9c50cf8467
treed218eab66a47e883ddf84f5c30e9060cd99394ec
parentff0d2f90fdc4b564d47a7c26b16de81a16cfa28e
[PATCH] PCI Hotplug: Fix echoing 1 to power file of enabled slot problem with SHPC driver

Here is a patch to fix the problem of echoing 1 to "power" file
to enabled slot causing the slot to power down, and echoing 0
to disabled slot causing shpchp_disabled_slot() to be called
twice. This problem was reported by kenji Kaneshige.

Thanks,
Dely

Signed-off-by: Dely Sy <dely.l.sy@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_ctrl.c