summaryrefslogtreecommitdiff
path: root/driver/tcpm/nct38xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/nct38xx.c')
-rw-r--r--driver/tcpm/nct38xx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/driver/tcpm/nct38xx.c b/driver/tcpm/nct38xx.c
index 1b620b5c40..c0e44a2e9c 100644
--- a/driver/tcpm/nct38xx.c
+++ b/driver/tcpm/nct38xx.c
@@ -29,6 +29,12 @@ enum nct38xx_boot_type nct38xx_get_boot_type(int port)
return boot_type[port];
}
+void nct38xx_reset_notify(int port)
+{
+ /* A full reset also resets the chip's dead battery boot status */
+ boot_type[port] = NCT38XX_BOOT_UNKNOWN;
+}
+
static int nct38xx_init(int port)
{
int rv;