drivers: pci: Fix crash in rt-linux because of an uninitialized lock.
authorKevin.xie <kevin.xie@starfivetech.com>
Tue, 21 Feb 2023 03:18:51 +0000 (11:18 +0800)
committerKevin.xie <kevin.xie@starfivetech.com>
Tue, 21 Feb 2023 03:26:09 +0000 (11:26 +0800)
commit9edf6749fde8ff981e4b4547d97e70163963d128
tree91be094bb792a8f58e2939051514ddc1274e8e27
parent352b307132880c5c82b596ad6ff9c1ced0cf8816
drivers: pci: Fix crash in rt-linux because of an uninitialized lock.

Adjust the order of invocations in probe to avoid from the crash.

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
drivers/pci/controller/pcie-plda.c