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

Commit a9c26b07 authored by Chandana Kishori Chiluveru's avatar Chandana Kishori Chiluveru
Browse files

USB: dwc3-msm: Add module parameter to disable host mode



Non-compliant type-c cables may result in continuous ID change
between high and low. This results in controller driver continuously
performing start_host and stop_host. There are some issue in USB core
causing crashes when this happens continuously for longer times. Until
these issues are fixed expose a module parameter for users to
disable host mode to avoid crashes:

Use below command to disable USB host mode through module parameter:
echo 1 > /sys/module/dwc3_msm/parameters/disable_host_mode

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