summaryrefslogtreecommitdiffstats
path: root/drivers/pci/mmap.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-04-30 10:06:14 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-05-18 14:40:38 +0100
commit6964494582f56a3882c2c53b0edbfe99eb32b2e1 (patch)
treee7767bcd943993d65ed1b707f8aa176d7cb9b30a /drivers/pci/mmap.c
parent8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff)
downloadlinux-6964494582f56a3882c2c53b0edbfe99eb32b2e1.tar.bz2
PCI: aardvark: Train link immediately after enabling training
Adding even 100ms (PCI_PM_D3COLD_WAIT) delay between enabling link training and starting link training causes detection issues with some buggy cards (such as Compex WLE900VX). Move the code which enables link training immediately before the one which starts link traning. This fixes detection issues of Compex WLE900VX card on Turris MOX after cold boot. Link: https://lore.kernel.org/r/20200430080625.26070-2-pali@kernel.org Fixes: f4c7d053d7f7 ("PCI: aardvark: Wait for endpoint to be ready...") Tested-by: Tomasz Maciej Nowak <tmn505@gmail.com> Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'drivers/pci/mmap.c')
0 files changed, 0 insertions, 0 deletions