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:
Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Loading
Please register or sign in to comment