diff options
| author | Peng Fan <[email protected]> | 2021-02-25 11:10:04 +0800 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2021-03-30 11:42:00 +0200 |
| commit | f410ee0aa2df050a9505f5c261953e9b18e21206 (patch) | |
| tree | eaf4b59f7f4cd2f8231efeb43681ed89c30e9ba4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | d1840f28e12752fc40c087e0a7e168492f021f8f (diff) | |
mmc: sdhci-esdhc-imx: validate pinctrl before use it
When imx_data->pinctrl is not a valid pointer, pinctrl_lookup_state
will trigger kernel panic.
When we boot Dual OS on Jailhouse hypervisor, we let the 1st Linux to
configure pinmux ready for the 2nd OS, so the 2nd OS not have pinctrl
settings.
Similar to this commit b62eee9f804e ("mmc: sdhci-esdhc-imx: no fail when no pinctrl available").
Reviewed-by: Bough Chen <[email protected]>
Reviewed-by: Alice Guo <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions