usb: typec: ucsi: glink: increase max ports for x1e80100
Subsystems (2)
PATCH 1/1 usb: typec: ucsi: glink: increase max ports for x1e80100
The new X Elite (x1e80100) platform has three ports so increase the maximum so that all ports can be registered.
Signed-off-by Johan Hovold <[email protected]>
--- drivers/usb/typec/ucsi/ucsi_glink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/ucsi/ucsi_glink.c +1 -1
@@ -14,7 +14,7 @@#include <linux/soc/qcom/pmic_glink.h> #include "ucsi.h" -#define PMIC_GLINK_MAX_PORTS 2 +#define PMIC_GLINK_MAX_PORTS 3#define UCSI_BUF_SIZE 48
Signature · 1 line
2.44.1
Quoted 8 lines · Johan Hovold
The new X Elite (x1e80100) platform has three ports so increase the maximum so that all ports can be registered.
Signed-off-by Johan Hovold <[email protected]>--- drivers/usb/typec/ucsi/ucsi_glink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Dmitry Baryshkov <[email protected]>
Signature · 2 lines
With best wishes Dmitry
Quoted 4 lines · Johan Hovold
The new X Elite (x1e80100) platform has three ports so increase the maximum so that all ports can be registered.
Signed-off-by Johan Hovold <[email protected]>
Reviewed-by Abel Vesa <[email protected]>
Quoted 20 lines
--- drivers/usb/typec/ucsi/ucsi_glink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/typec/ucsi/ucsi_glink.c +1
-1@@ -14,7 +14,7 @@#include <linux/soc/qcom/pmic_glink.h> #include "ucsi.h" -#define PMIC_GLINK_MAX_PORTS 2 +#define PMIC_GLINK_MAX_PORTS 3#define UCSI_BUF_SIZE 48Signature · 1 line
2.44.1
Quoted 4 lines · Johan Hovold
The new X Elite (x1e80100) platform has three ports so increase the maximum so that all ports can be registered.
Signed-off-by Johan Hovold <[email protected]>
Reviewed-by Heikki Krogerus <[email protected]>
Quoted 19 lines
--- drivers/usb/typec/ucsi/ucsi_glink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/typec/ucsi/ucsi_glink.c +1
-1@@ -14,7 +14,7 @@#include <linux/soc/qcom/pmic_glink.h> #include "ucsi.h" -#define PMIC_GLINK_MAX_PORTS 2 +#define PMIC_GLINK_MAX_PORTS 3#define UCSI_BUF_SIZE 48Signature · 1 line
2.44.1
Signature · 1 line
heikki