diff options
author | Lee Jones <[email protected]> | 2019-09-05 09:25:55 +0100 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2019-09-06 11:08:08 +0200 |
commit | 8928e917aeafaf38d65cc5cbc1f11e952dbed062 (patch) | |
tree | 1377f055ac7fc00a5474bf87306ca751b2694c63 /lib/memory-notifier-error-inject.c | |
parent | 13212a648f3142a5fa893b1f66baa7eb95f3e3a8 (diff) |
soc: qcom: geni: Provide parameter error checking
When booting with ACPI, the Geni Serial Engine is not set as the I2C/SPI
parent and thus, the wrapper (parent device) is unassigned. This causes
the kernel to crash with a null dereference error.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 8bc529b25354 ("soc: qcom: geni: Add support for ACPI")
Acked-by: Bjorn Andersson <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions