Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ac2610b authored by Kenji Kaneshige's avatar Kenji Kaneshige Committed by Greg Kroah-Hartman
Browse files

[PATCH] PCI Hotplug: SHPCHP driver doesn't enable PERR and SERR properly



Current shpchp driver doesn't seem to program command register to
enable PERR and SERR properly. The following patch fixes this issue.

Signed-off-by: default avatarKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7a8cb869
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1681,7 +1681,7 @@ void shpchprm_enable_card(
		| PCI_COMMAND_IO | PCI_COMMAND_MEMORY;
		| PCI_COMMAND_IO | PCI_COMMAND_MEMORY;
	bcmd = bcommand  = bcommand | PCI_BRIDGE_CTL_NO_ISA;
	bcmd = bcommand  = bcommand | PCI_BRIDGE_CTL_NO_ISA;


	ab = find_acpi_bridge_by_bus(acpi_bridges_head, ctrl->seg, ctrl->bus);
	ab = find_acpi_bridge_by_bus(acpi_bridges_head, ctrl->seg, ctrl->slot_bus);
	if (ab) {
	if (ab) {
		if (ab->_hpp) {
		if (ab->_hpp) {
			if (ab->_hpp->enable_perr) {
			if (ab->_hpp->enable_perr) {