usb: typec: mux: it5205: Fix ChipID value typo
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 9 Apr 2024 11:36:46 +0000 (13:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 15:29:27 +0000 (17:29 +0200)
commit3461e02066758b78a0731eb71faecfb1eccd0e6c
treec2db09b57d4bb19af7db62152465c5ef8356de22
parentfbdd90334a6205e8a99d0bc2dfc738ee438f00bc
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>
drivers/usb/typec/mux/it5205.c