From fe3a60e79265658a8e5336c0eaada4977e083cd3 Mon Sep 17 00:00:00 2001 From: Diana Z Date: Sat, 14 Aug 2021 15:05:26 -0600 Subject: USB MUX: Convert usb_mux HPD functions to use mux_state_t Since we have definitions for HPD IRQ and level in the mux flags, extend this to the HPD update function in the usb_mux structure as well. BRANCH=None BUG=b:172222942 TEST=make -j buildall Signed-off-by: Diana Z Change-Id: I19c3a65fc821a341338d73fabd7876339b37fe7d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3095437 Reviewed-by: Keith Short --- board/icarus/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/icarus') diff --git a/board/icarus/board.c b/board/icarus/board.c index b0f2bb7060..bffad091fa 100644 --- a/board/icarus/board.c +++ b/board/icarus/board.c @@ -122,7 +122,7 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = { }; static void board_hpd_status(const struct usb_mux *me, - int hpd_lvl, int hpd_irq) + mux_state_t mux_state) { /* * svdm_dp_attention() did most of the work, we only need to notify -- cgit v1.2.1