Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f7033e2e authored by Jack Pham's avatar Jack Pham Committed by Stephen Boyd
Browse files

msm: usb_bam: Fix NULL pointer dereferences



usb_bam_connect() might still be called even if the usb_bam
platform device does not exist. Make sure to check that usb_bam_pdev
is not NULL before attempting to initialize the SPS pipes. Also
clean up other pdev instances in the dev_attr functions.

Change-Id: I0702f6b18eeb67783e9e84d502d64b1042c36c96
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent dd936aed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment