aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorGravatar AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> 2024-04-09 13:36:46 +0200
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2024-04-09 17:29:27 +0200
commit3461e02066758b78a0731eb71faecfb1eccd0e6c (patch)
treec2db09b57d4bb19af7db62152465c5ef8356de22 /drivers/usb
parentMAINTAINERS: Drop Li Yang as their email address stopped working (diff)
downloadlinux-3461e02066758b78a0731eb71faecfb1eccd0e6c.tar.gz
linux-3461e02066758b78a0731eb71faecfb1eccd0e6c.tar.bz2
linux-3461e02066758b78a0731eb71faecfb1eccd0e6c.zip
usb: typec: mux: it5205: Fix ChipID value typo
The ChipID bytes are read in inverse order: invert the ChipID value defined as IT5205FN_CHIP_ID and used for validating the same. Fixes: 41fe9ea1696c ("usb: typec: mux: Add ITE IT5205 Alternate Mode Passive MUX driver") Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20240409113646.305105-1-angelogioacchino.delregno@collabora.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/typec/mux/it5205.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/typec/mux/it5205.c b/drivers/usb/typec/mux/it5205.c
index 5535932e42cd..4357cc67a867 100644
--- a/drivers/usb/typec/mux/it5205.c
+++ b/drivers/usb/typec/mux/it5205.c
@@ -22,7 +22,7 @@
#include <linux/usb/typec_mux.h>
#define IT5205_REG_CHIP_ID(x) (0x4 + (x))
-#define IT5205FN_CHIP_ID 0x35323035 /* "5205" */
+#define IT5205FN_CHIP_ID 0x35303235 /* "5025" -> "5205" */
/* MUX power down register */
#define IT5205_REG_MUXPDR 0x10