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

Commit d8b23e8f authored by Kenji Kaneshige's avatar Kenji Kaneshige Committed by Jesse Barnes
Browse files

pciehp: fixes typo in dbg_ctrl() in pciehp_hpc.c



Fixup a typo in dbg_ctrl(); it was fetching SLOTSTATUS twice.

Signed-off-by: default avatarKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: default avatarKristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent ac9c052d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1086,7 +1086,7 @@ static inline void dbg_ctrl(struct controller *ctrl)
	dbg("  Comamnd Completed    : %3s\n", NO_CMD_CMPL(ctrl)? "no" : "yes");
	dbg("  Comamnd Completed    : %3s\n", NO_CMD_CMPL(ctrl)? "no" : "yes");
	pciehp_readw(ctrl, SLOTSTATUS, &reg16);
	pciehp_readw(ctrl, SLOTSTATUS, &reg16);
	dbg("Slot Status            : 0x%04x\n", reg16);
	dbg("Slot Status            : 0x%04x\n", reg16);
	pciehp_readw(ctrl, SLOTSTATUS, &reg16);
	pciehp_readw(ctrl, SLOTCTRL, &reg16);
	dbg("Slot Control           : 0x%04x\n", reg16);
	dbg("Slot Control           : 0x%04x\n", reg16);
}
}