Commit 358b23d6 authored by spiiroin's avatar spiiroin

[modesetting] Do not leave android usb disabled after unsetting mode. JB#35683

Seems that just writing enable=0 functions=none leaves the android usb in
some sort of limbo where cable detection does not work until enable=1
write is also made.

Do enable=1 write after clearing functions on cable disconnect.
Signed-off-by: spiiroin's avatarSimo Piiroinen <>
parent 3d6e10ec
......@@ -541,6 +541,12 @@ void unset_dynamic_mode(void)
/* enable after the changes have been made */
write_to_file(data->softconnect_path, data->softconnect);
/** clean up mode changes or extra actions to perform after a mode change
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment