diff options
author | 2022-01-11 10:07:37 +0100 | |
---|---|---|
committer | 2022-01-26 14:11:16 +0100 | |
commit | 79aa3e19fe8f5be30e846df8a436bfe306e8b1a6 (patch) | |
tree | 2a70e7dff6af5a4424eb109223ecbd9fc4199fb3 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend (diff) | |
download | wireguard-linux-79aa3e19fe8f5be30e846df8a436bfe306e8b1a6.tar.xz wireguard-linux-79aa3e19fe8f5be30e846df8a436bfe306e8b1a6.zip |
usb: cdnsp: Fix segmentation fault in cdns_lost_power function
CDNSP driver read not initialized cdns->otg_v0_regs
which lead to segmentation fault. Patch fixes this issue.
Fixes: 2cf2581cd229 ("usb: cdns3: add power lost support for system resume")
cc: <stable@vger.kernel.org>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20220111090737.10345-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions