Yinghai Lu fdbd3ce9ef PCI: pciehp: Retrieve link speed after link is trained
During hot plug, board_added will call pciehp_power_on_slot().
But link speed is updated in pciehp_power_on_slot().

We should not update link speed there, because that is too early.

So move the link speed update to pciehp_check_link_status() after making
sure the link has been trained.

-v2: fix compile warning that Kenji found.

Signed-off-by: Yinghai Lu <yinghai.lu@oracle.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tested-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2011-11-07 08:07:34 -08:00
..
2011-10-02 00:19:34 +02:00
2011-10-26 21:46:20 -07:00
2011-09-21 16:19:44 -04:00
2011-10-25 06:55:52 +02:00
2011-09-27 18:08:04 +02:00
2011-10-07 12:49:18 +01:00
2011-10-24 21:00:34 +02:00