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

Skip to content
Commit ffe56619 authored by Chandana Kishori Chiluveru's avatar Chandana Kishori Chiluveru
Browse files

serial: msm_geni_serial: Fix possible null pointer access with handle_rx



Some customers are using UART node in UFFI for console and using
the same node for HSUART in kernel but not as console. In this
scenario there is a possibility for null pointer access
with handle_rx while trying to stop secondary sequencer.

This change will move handle_rx initialization from port_startup to
probe function. This will help to avoid null pointer access issues.

Also check for GENI active state before stopping secondary engine in
earlyconsole stage.

Change-Id: Ibda592b375d14ba0c23c4b99223006b1fa53c211
Signed-off-by: default avatarChandana Kishori Chiluveru <cchiluve@codeaurora.org>
parent 7234d852
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