[PATCH v2 0/2] usb: typec: qcom-pmic-typec: cc_debounce_dwork lifetime fixes

Fan Wu posted 2 patches 1 month, 1 week ago
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c | 5 +++++
1 file changed, 5 insertions(+)
[PATCH v2 0/2] usb: typec: qcom-pmic-typec: cc_debounce_dwork lifetime fixes
Posted by Fan Wu 1 month, 1 week ago
This is v2 of "usb: typec: qcom-pmic-typec: disable cc_debounce_dwork
on stop", split at the "also" as Bryan asked: patch 1 fixes the
stop/remove path, patch 2 the probe-failure path.

Changes in v2:
- Split the probe-failure handling into its own patch (Bryan).
- The failed port_start() path now drains the delayed work at the
  port_start() error exit instead of unwinding through port_stop(), so
  the IRQF_NO_AUTOEN IRQs, which are only enabled at the end of a
  successful port_start(), are not disabled unnecessarily (Konrad).

Fan Wu (2):
  usb: typec: qcom-pmic-typec: disable cc_debounce_dwork on stop
  usb: typec: qcom-pmic-typec: drain cc_debounce_dwork if port_start()
    fails

 drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c | 5 +++++
 1 file changed, 5 insertions(+)