From 494adea44a92c3c3737f98021a8959434efa7906 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Tue, 7 Jan 2020 18:00:34 -0800 Subject: driver/usb_mux: Make pi3usb30532 more generic The Pericom PI3USB30532 usb mux driver will actually also work for the PI3USB31532. This commit renames the driver to reflect this while also adding the PI3USB31532 to the list of supported USB muxes. BUG=b:146654043 BRANCH=None TEST=`make -j buildall` Change-Id: Ic8e2852a3e038b05eb18d1d9db210b7fdce957d7 Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1990362 Tested-by: Aseda Aboagye Auto-Submit: Aseda Aboagye Reviewed-by: Diana Z Commit-Queue: Diana Z --- board/reef_it8320/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/reef_it8320/board.c') diff --git a/board/reef_it8320/board.c b/board/reef_it8320/board.c index e268de83ed..a1cc1a69d9 100644 --- a/board/reef_it8320/board.c +++ b/board/reef_it8320/board.c @@ -163,7 +163,7 @@ static void it83xx_tcpc_update_hpd_status(int port, int hpd_lvl, int hpd_irq) struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { { .port_addr = 0x54, - .driver = &pi3usb30532_usb_mux_driver, + .driver = &pi3usb3x532_usb_mux_driver, .hpd_update = &it83xx_tcpc_update_hpd_status, }, { -- cgit v1.2.1