diff options
author | Wong Vee Khee <vee.khee.wong@intel.com> | 2020-10-29 12:32:28 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-30 19:48:06 +0300 |
commit | 785ff20bce2d9f08f4a9299a5e59e2272f0ee1e9 (patch) | |
tree | 96e75be4a1b918cd5206b70fd7e4e4922f19a03f /security | |
parent | d6a076d68c6b5d6a5800f3990a513facb7016dea (diff) | |
download | linux-785ff20bce2d9f08f4a9299a5e59e2272f0ee1e9.tar.xz |
stmmac: intel: Fix kernel panic on pci probe
The commit "stmmac: intel: Adding ref clock 1us tic for LPI cntr"
introduced a regression which leads to the kernel panic duing loading
of the dwmac_intel module.
Move the code block after pci resources is obtained.
Fixes: b4c5f83ae3f3 ("stmmac: intel: Adding ref clock 1us tic for LPI cntr")
Cc: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: Wong Vee Khee <vee.khee.wong@intel.com>
Link: https://lore.kernel.org/r/20201029093228.1741-1-vee.khee.wong@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions