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

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

serial: msm_geni_serial: Check for dev_port->is_console flag for cosole



If console is disabled with below kernel cmdline arguments
"console=null earlycon=null androidboot.console=null" cons->name
will be set to null and cons->index pointer will not updated for
console. Hence uart_console(uport) check will fail, poxy vote
added by common driver probe on behalf of earlycon won't be
removed. This will not allow device to enter to enter sleep.

Fix this by replacing uart_console(uport)check with dev_port->console
check in probe so that it will remove vote during real console probe
after uart_add_one_port.

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