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

Commit ac365ce9 authored by ChandanaKishori Chiluveru's avatar ChandanaKishori Chiluveru
Browse files

USB: PHY: msm: Don't overwrite id_state in sm_init if it is not cleared



Driver is marking id_sate as float in probe and again change the
id_state in sm_init upon inputs. There is a chance for getting ID clear
event from PMIC before sm_init work will run during bootup. In this case
driver overriding id_state from sm_init_work and causing device detection
failure on bootup with host cable connected. Change this to update id_state
only if it is not cleared in sm_init_work.

Change-Id: Ib4e04b881d691651e3a8f69d9b163d45a13d92d6
Signed-off-by: default avatarChandanaKishori Chiluveru <cchilu@codeaurora.org>
parent d171201f
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