diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-09-04 17:50:09 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-09-17 12:21:01 -0500 |
commit | a07245d14fcb0ac760bfc60fc3483b0619998867 (patch) | |
tree | 82e19491d22061e72c4394be3c79c95fd2829647 /crypto/twofish_generic.c | |
parent | f81c11af617ca4bad5028e9e431feae8d4166bc7 (diff) |
PCI: generic: Fix lookup of linux,pci-probe-only property
When pci-host-generic looks for the probe-only property, it seems to trust
the DT to be correctly written, and assumes that there is a parameter to
the property.
Unfortunately, this is not always the case, and some firmware expose this
property naked. The driver ends up making a decision based on whatever the
property pointer points to, which is likely to be junk.
Switch to the common of_pci.c implementation that doesn't suffer from this
problem.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'crypto/twofish_generic.c')
0 files changed, 0 insertions, 0 deletions