We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb10f68 commit 43ad944Copy full SHA for 43ad944
drivers/usb/typec/tcpm/tcpm.c
@@ -5369,7 +5369,7 @@ EXPORT_SYMBOL_GPL(tcpm_pd_hard_reset);
5369
void tcpm_sink_frs(struct tcpm_port *port)
5370
{
5371
spin_lock(&port->pd_event_lock);
5372
- port->pd_events = TCPM_FRS_EVENT;
+ port->pd_events |= TCPM_FRS_EVENT;
5373
spin_unlock(&port->pd_event_lock);
5374
kthread_queue_work(port->wq, &port->event_work);
5375
}
@@ -5378,7 +5378,7 @@ EXPORT_SYMBOL_GPL(tcpm_sink_frs);
5378
void tcpm_sourcing_vbus(struct tcpm_port *port)
5379
5380
5381
- port->pd_events = TCPM_SOURCING_VBUS;
+ port->pd_events |= TCPM_SOURCING_VBUS;
5382
5383
5384
0 commit comments