Re: [PATCH 0/2] PCI: altera: fix link retrain
From: Ley Foon Tan
Date: Mon Jul 25 2016 - 01:07:41 EST
On Sat, Jul 23, 2016 at 5:07 AM, Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote:
>
> On Tue, Jun 21, 2016 at 04:53:11PM +0800, Ley Foon Tan wrote:
> > This 2 patches fix the issue before and after retrain link.
> >
> > Ley Foon Tan (2):
> > PCI: altera: check link status before retrain link
> > PCI: altera: Polling for link up status after retrain the link
> >
> > drivers/pci/host/pcie-altera.c | 48 +++++++++++++++++++++++++++---------------
> > 1 file changed, 31 insertions(+), 17 deletions(-)
>
> I applied these to pci/host-altera for v4.8, thanks!
>
> I split the code move into its own patch so the bug fix is clearly
> visible. I also fixed these whitespace errors:
>
> if(!altera_pcie_link_is_up(pcie))
> while(!altera_pcie_link_is_up(pcie)) {
>
> A space is required after "if" and "while".
Hi Bjorn
Thanks a lot!
Regards
Ley Foon