Re: [PATCH -v2] pciehp: Retrieve link speed after link is trained
From: Jesse Barnes
Date: Mon Nov 07 2011 - 11:07:58 EST
On Mon, 07 Nov 2011 07:53:23 -0800
Yinghai Lu <yinghai.lu@xxxxxxxxxx> wrote:
>
> 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.
>
> Move updating to pciehp_check_link_status() after making sure link is trained.
>
> -v2: compiling warning that Kenji found.
Applied, thanks guys.
--
Jesse Barnes, Intel Open Source Technology Center
Attachment:
signature.asc
Description: PGP signature