]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
usb: typec: ucsi: glink: increase max ports for x1e80100
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 3 Jun 2024 10:00:07 +0000 (12:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 13:33:19 +0000 (15:33 +0200)
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>
drivers/usb/typec/ucsi/ucsi_glink.c

index f7546bb488c32877ddc1c93802bd0b80f9bb200a..985a880e86da433f839cf528c36d8f50b1714ece 100644 (file)
@@ -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