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

Skip to content
Commit 0b8eb711 authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power: smb1381: Fix NULL pointer dereference for audio adapter



In Type-C audio apapter removal case, a delay is configured to allow
audio driver to lower its enable gpio. The pointer to delay value is
not initialized for smb138x drivers.

Add default value of audio driver delay.

Change-Id: I2e89c00e7dec32ae13c90a4895f669bb20d48a3e
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent 7490d3a1
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