diff options
author | Ayushee Shah <ayushee.shah@intel.com> | 2021-04-22 10:23:02 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-29 19:29:20 +0000 |
commit | e1807baa12054ec4adfb4319506f960ea9046df5 (patch) | |
tree | 261c0dab5962e119540379678658c922df4bd8b9 /include/usb_mux.h | |
parent | 400f2560bf37f92c94ab090d0223685785eae3cd (diff) | |
download | chrome-ec-e1807baa12054ec4adfb4319506f960ea9046df5.tar.gz |
usb_mux: Remove disconnect latch flag
With dark resume enabled, disconnect latch flag is obsolete
BUG=None
BRANCH=None
TEST=Swapping Type C devices in s0ix works
Signed-off-by: Ayushee Shah <ayushee.shah@intel.com>
Change-Id: Ica1b55f820f5b3fff5b7dabf88ca57ac0993f246
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2846417
Reviewed-by: Madhusudanarao Amara <madhusudanarao.amara@intel.corp-partner.google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'include/usb_mux.h')
-rw-r--r-- | include/usb_mux.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/usb_mux.h b/include/usb_mux.h index f3d18a7874..61a2c5167b 100644 --- a/include/usb_mux.h +++ b/include/usb_mux.h @@ -261,22 +261,4 @@ void usb_mux_hpd_update(int port, int hpd_lvl, int hpd_irq); */ int usb_mux_retimer_fw_update_port_info(void); -/** - * Get the disconnect latch flag so that the Kernel Mux driver doesn't - * miss the unnoticed disconnection status. - * - * @param port port number. - * @return status of disconnect latch flag - */ -bool usb_mux_get_disconnect_latch_flag(int port); - -/** - * Set the disconnect latch flag if the Type-C devices are disconnected and - * the information is not yet updated to Kernel Mux driver. - * - * @param port port number - * @param enable whether to enable or disable the disconnect latch flag - */ -void usb_mux_set_disconnect_latch_flag(int port, bool enable); - #endif |