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:
Linyu Yuan 2022-05-18 09:37:06 +08:00 committed by Gerrit - the friendly Code Review server
parent bc54901994
commit 02d2a4f174
2 changed files with 0 additions and 8 deletions

View File

@ -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) {

View File

@ -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;