diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2020-08-18 17:27:46 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-09-07 10:25:22 +0100 |
commit | 16270a92355722e387e9ca19627c5a4d7bae1354 (patch) | |
tree | 785688135c8e49028323bcb6b7bf9e179040137f /tools/power | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) | |
download | linux-stable-16270a92355722e387e9ca19627c5a4d7bae1354.tar.gz linux-stable-16270a92355722e387e9ca19627c5a4d7bae1354.tar.bz2 linux-stable-16270a92355722e387e9ca19627c5a4d7bae1354.zip |
PCI: designware-ep: Fix the Header Type check
The current check will result in the multiple function device
fails to initialize. So fix the check by masking out the
multiple function bit.
Link: https://lore.kernel.org/r/20200818092746.24366-1-Zhiqiang.Hou@nxp.com
Fixes: 0b24134f7888 ("PCI: dwc: Add validation that PCIe core is set to correct mode")
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions