diff --git a/drivers/usb/typec/tps6598x.c b/drivers/usb/typec/tps6598x.c index eb8046f87a5445d39b7fa81dad0fdc8540f9de0b..a237bac2b67409f189cd75005d5113d0207aa362 100644 --- a/drivers/usb/typec/tps6598x.c +++ b/drivers/usb/typec/tps6598x.c @@ -39,7 +39,7 @@ #define TPS_STATUS_VCONN(s) (!!((s) & BIT(7))) /* TPS_REG_SYSTEM_CONF bits */ -#define TPS_SYSCONF_PORTINFO(c) ((c) & 3) +#define TPS_SYSCONF_PORTINFO(c) ((c) & 7) enum { TPS_PORTINFO_SINK,