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-05-10 15:43:36 -07:00
2011-10-14 09:05:35 -07:00
2011-10-31 10:23:58 -07:00
2011-03-29 14:48:19 +02:00
2011-10-27 12:45:44 -07:00
2009-02-13 12:01:56 -08:00
2010-07-30 09:47:22 -07:00
2010-08-31 15:28:00 -07:00
2009-07-12 12:22:34 -07:00