summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2024-06-03 12:00:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-04 15:33:19 +0200
commitfc3568f142cc5fe071d83be02d1851717d1fbf66 (patch)
treefc4f177ccaa93f8872769f38a66356ebcd949ad6 /drivers/usb
parent718d4a63c0a62d16af1d0425d515d7e76f35681e (diff)
downloadlinux-stable-fc3568f142cc5fe071d83be02d1851717d1fbf66.tar.gz
linux-stable-fc3568f142cc5fe071d83be02d1851717d1fbf66.tar.bz2
linux-stable-fc3568f142cc5fe071d83be02d1851717d1fbf66.zip
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 <johan+linaro@kernel.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Link: https://lore.kernel.org/r/20240603100007.10236-1-johan+linaro@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/typec/ucsi/ucsi_glink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c
index f7546bb488c3..985a880e86da 100644
--- a/drivers/usb/typec/ucsi/ucsi_glink.c
+++ b/drivers/usb/typec/ucsi/ucsi_glink.c
@@ -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