Loading drivers/soc/qcom/fsa4480-i2c.c +2 −0 Original line number Diff line number Diff line Loading @@ -123,6 +123,7 @@ static int fsa4480_usbc_event_changed(struct notifier_block *nb, dev_dbg(dev, "%s: queueing usbc_analog_work\n", __func__); pm_stay_awake(fsa_priv->dev); schedule_work(&fsa_priv->usbc_analog_work); break; default: Loading Loading @@ -303,6 +304,7 @@ static void fsa4480_usbc_analog_work_fn(struct work_struct *work) } fsa4480_usbc_analog_setup_switches(fsa_priv, atomic_read(&(fsa_priv->usbc_mode)) != POWER_SUPPLY_TYPEC_NONE); pm_relax(fsa_priv->dev); } static void fsa4480_update_reg_defaults(struct regmap *regmap) Loading Loading
drivers/soc/qcom/fsa4480-i2c.c +2 −0 Original line number Diff line number Diff line Loading @@ -123,6 +123,7 @@ static int fsa4480_usbc_event_changed(struct notifier_block *nb, dev_dbg(dev, "%s: queueing usbc_analog_work\n", __func__); pm_stay_awake(fsa_priv->dev); schedule_work(&fsa_priv->usbc_analog_work); break; default: Loading Loading @@ -303,6 +304,7 @@ static void fsa4480_usbc_analog_work_fn(struct work_struct *work) } fsa4480_usbc_analog_setup_switches(fsa_priv, atomic_read(&(fsa_priv->usbc_mode)) != POWER_SUPPLY_TYPEC_NONE); pm_relax(fsa_priv->dev); } static void fsa4480_update_reg_defaults(struct regmap *regmap) Loading