diff options
author | Yinghai Lu <yinghai.lu@oracle.com> | 2011-11-07 16:53:23 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-11-07 17:07:34 +0100 |
commit | fdbd3ce9efb3a045266f2f6b2f1b6047882ff092 (patch) | |
tree | c5cc769c2e7fa8ab09061b6661406fcc168c84cb /fs/ntfs/dir.c | |
parent | PCI: Let PCI_PRI depend on PCI (diff) | |
download | linux-fdbd3ce9efb3a045266f2f6b2f1b6047882ff092.tar.xz linux-fdbd3ce9efb3a045266f2f6b2f1b6047882ff092.zip |
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>
Diffstat (limited to 'fs/ntfs/dir.c')
0 files changed, 0 insertions, 0 deletions