summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@linaro.org>2019-05-29 11:43:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-26 09:13:04 +0200
commit97392d4bac46324a8356788bbb3adc401786c323 (patch)
tree7d494b3b95707fc38d6488e2ba1e1020a9cd3c27 /fs/btrfs/tree-log.c
parente67c8a7e94f56f8dda15985023471de9db55309a (diff)
downloadlinux-stable-97392d4bac46324a8356788bbb3adc401786c323.tar.gz
linux-stable-97392d4bac46324a8356788bbb3adc401786c323.tar.bz2
linux-stable-97392d4bac46324a8356788bbb3adc401786c323.zip
PCI: qcom: Ensure that PERST is asserted for at least 100 ms
commit 64adde31c8e996a6db6f7a1a4131180e363aa9f2 upstream. Currently, there is only a 1 ms sleep after asserting PERST. Reading the datasheets for different endpoints, some require PERST to be asserted for 10 ms in order for the endpoint to perform a reset, others require it to be asserted for 50 ms. Several SoCs using this driver uses PCIe Mini Card, where we don't know what endpoint will be plugged in. The PCI Express Card Electromechanical Specification r2.0, section 2.2, "PERST# Signal" specifies: "On power up, the deassertion of PERST# is delayed 100 ms (TPVPERL) from the power rails achieving specified operating limits." Add a sleep of 100 ms before deasserting PERST, in order to ensure that we are compliant with the spec. Fixes: 82a823833f4e ("PCI: qcom: Add Qualcomm PCIe controller driver") Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com> Cc: stable@vger.kernel.org # 4.5+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions