Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12712c66 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: typec: ucsi: Fix the notification bit offsets"

parents 18ed6679 fbefff56
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -94,15 +94,15 @@ void ucsi_connector_change(struct ucsi *ucsi, u8 num);
#define UCSI_ENABLE_NTFY_CMD_COMPLETE		BIT(16)
#define UCSI_ENABLE_NTFY_EXT_PWR_SRC_CHANGE	BIT(17)
#define UCSI_ENABLE_NTFY_PWR_OPMODE_CHANGE	BIT(18)
#define UCSI_ENABLE_NTFY_CAP_CHANGE		BIT(19)
#define UCSI_ENABLE_NTFY_PWR_LEVEL_CHANGE	BIT(20)
#define UCSI_ENABLE_NTFY_PD_RESET_COMPLETE	BIT(21)
#define UCSI_ENABLE_NTFY_CAM_CHANGE		BIT(22)
#define UCSI_ENABLE_NTFY_BAT_STATUS_CHANGE	BIT(23)
#define UCSI_ENABLE_NTFY_PARTNER_CHANGE		BIT(24)
#define UCSI_ENABLE_NTFY_PWR_DIR_CHANGE		BIT(25)
#define UCSI_ENABLE_NTFY_CONNECTOR_CHANGE	BIT(26)
#define UCSI_ENABLE_NTFY_ERROR			BIT(27)
#define UCSI_ENABLE_NTFY_CAP_CHANGE		BIT(21)
#define UCSI_ENABLE_NTFY_PWR_LEVEL_CHANGE	BIT(22)
#define UCSI_ENABLE_NTFY_PD_RESET_COMPLETE	BIT(23)
#define UCSI_ENABLE_NTFY_CAM_CHANGE		BIT(24)
#define UCSI_ENABLE_NTFY_BAT_STATUS_CHANGE	BIT(25)
#define UCSI_ENABLE_NTFY_PARTNER_CHANGE		BIT(27)
#define UCSI_ENABLE_NTFY_PWR_DIR_CHANGE		BIT(28)
#define UCSI_ENABLE_NTFY_CONNECTOR_CHANGE	BIT(30)
#define UCSI_ENABLE_NTFY_ERROR			BIT(31)
#define UCSI_ENABLE_NTFY_ALL			0xdbe70000

/* SET_UOR command bits */