mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 18:51:21 +02:00
Revert "ucsi: ucsi_glink: add more flags for clients during notification"
This reverts commit e100ed74953673a4f226941be494fc51292c04d1. UCSI partner change and connect notifications are not needed for clients like USB redriver anymore. Change-Id: I6350f43ad144eae94ccd8cbecc3dabb810086e8b Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
This commit is contained in:
parent
bc54901994
commit
02d2a4f174
|
|
@ -425,12 +425,6 @@ static void ucsi_qti_notify(struct ucsi_dev *udev, unsigned int offset,
|
|||
entry->constat_info.partner_usb = false;
|
||||
entry->constat_info.partner_alternate_mode = false;
|
||||
|
||||
entry->constat_info.partner_change =
|
||||
status->change & UCSI_CONSTAT_PARTNER_CHANGE;
|
||||
|
||||
entry->constat_info.connect =
|
||||
status->flags & UCSI_CONSTAT_CONNECTED;
|
||||
|
||||
conn_partner_type = UCSI_CONSTAT_PARTNER_TYPE(status->flags);
|
||||
|
||||
switch (conn_partner_type) {
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ struct ucsi_glink_constat_info {
|
|||
enum typec_accessory acc;
|
||||
bool partner_usb;
|
||||
bool partner_alternate_mode;
|
||||
bool partner_change;
|
||||
bool connect;
|
||||
};
|
||||
|
||||
struct notifier_block;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user