mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Rockchip64: adjust patch as it doesn't align anymore
This commit is contained in:
@@ -274,14 +274,16 @@ index d962f67c95ae..5ac809870867 100644
|
||||
tcpm_register_partner_altmodes(port);
|
||||
}
|
||||
break;
|
||||
@@ -3650,6 +3692,7 @@ static int tcpm_src_attach(struct tcpm_port *port)
|
||||
@@ -3650,8 +3692,9 @@ static int tcpm_src_attach(struct tcpm_port *port)
|
||||
static void tcpm_typec_disconnect(struct tcpm_port *port)
|
||||
{
|
||||
if (port->connected) {
|
||||
+ tcpm_update_extcon_data(port, false);
|
||||
typec_partner_set_usb_power_delivery(port->partner, NULL);
|
||||
typec_unregister_partner(port->partner);
|
||||
port->partner = NULL;
|
||||
if (port->partner) {
|
||||
+ tcpm_update_extcon_data(port, false);
|
||||
typec_partner_set_usb_power_delivery(port->partner, NULL);
|
||||
typec_unregister_partner(port->partner);
|
||||
port->partner = NULL;
|
||||
}
|
||||
@@ -3739,6 +3782,8 @@ static void tcpm_detach(struct tcpm_port *port)
|
||||
}
|
||||
|
||||
|
||||
@@ -274,14 +274,16 @@ index d962f67c95ae..5ac809870867 100644
|
||||
tcpm_register_partner_altmodes(port);
|
||||
}
|
||||
break;
|
||||
@@ -3650,6 +3692,7 @@ static int tcpm_src_attach(struct tcpm_port *port)
|
||||
@@ -3650,8 +3692,9 @@ static int tcpm_src_attach(struct tcpm_port *port)
|
||||
static void tcpm_typec_disconnect(struct tcpm_port *port)
|
||||
{
|
||||
if (port->connected) {
|
||||
+ tcpm_update_extcon_data(port, false);
|
||||
typec_partner_set_usb_power_delivery(port->partner, NULL);
|
||||
typec_unregister_partner(port->partner);
|
||||
port->partner = NULL;
|
||||
if (port->partner) {
|
||||
+ tcpm_update_extcon_data(port, false);
|
||||
typec_partner_set_usb_power_delivery(port->partner, NULL);
|
||||
typec_unregister_partner(port->partner);
|
||||
port->partner = NULL;
|
||||
}
|
||||
@@ -3739,6 +3782,8 @@ static void tcpm_detach(struct tcpm_port *port)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user