Commit 98f1e6b5 authored by Visweswara Tanuku's avatar Visweswara Tanuku Committed by Todd Kjos
Browse files

ANDROID: tty: serial: msm: geni: Add module parameter to enable/disable console



Add module parameter 'con_enabled' to dynamically control console
enablement/disablement from kernel cmdline.

By default console is enabled, add 'qcom_geni_serial.con_enabled=0'
to cmdline to disable it.

Success is returned from probe to ensure sync state correctness.

con_enabled default value is controlled with a Kconfig option,
CONFIG_SERIAL_QCOM_GENI_CONSOLE_DEFAULT_ENABLED.

This change provides flexibility to perf image where console
is disabled by default, and can be enabled via cmdline.

Bug: 223797063
Change-Id: I4d4161f41eed59902a501add2fea2c7ba2063a03
Signed-off-by: default avatarVisweswara Tanuku <quic_vtanuku@quicinc.com>
parent a7e175e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment