Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Johan Hovold and committed by
Greg Kroah-Hartman
fc3568f1 718d4a63

+1 -1
+1 -1
drivers/usb/typec/ucsi/ucsi_glink.c
··· 14 14 #include <linux/soc/qcom/pmic_glink.h> 15 15 #include "ucsi.h" 16 16 17 - #define PMIC_GLINK_MAX_PORTS 2 17 + #define PMIC_GLINK_MAX_PORTS 3 18 18 19 19 #define UCSI_BUF_SIZE 48 20 20