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