From 503179a859f30c15bad8e40742401c357d30c78c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Fri, 19 Jul 2024 08:36:50 +0200 Subject: [PATCH] drivers: flash: spi_nor: doc: correct comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the durations in the spi_nor_config struct are in milliseconds not in microseconds. (cherry picked from commit ba5b4ae81738c6833e7921e96e9a423eb58df708) Original-Signed-off-by: Fin Maaß GitOrigin-RevId: ba5b4ae81738c6833e7921e96e9a423eb58df708 Change-Id: I251478b4f696d61f0896beafe9cdd7ea4167234a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5745061 Reviewed-by: Fabio Baltieri Tested-by: ChromeOS Prod (Robot) Commit-Queue: Fabio Baltieri --- drivers/flash/spi_nor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/flash/spi_nor.c b/drivers/flash/spi_nor.c index 203e930e381..598ae36ab61 100644 --- a/drivers/flash/spi_nor.c +++ b/drivers/flash/spi_nor.c @@ -135,16 +135,16 @@ struct spi_nor_config { #endif #if ANY_INST_HAS_DPD - uint16_t t_enter_dpd; /* in microseconds */ - uint16_t t_dpdd_ms; /* in microseconds */ + uint16_t t_enter_dpd; /* in milliseconds */ + uint16_t t_dpdd_ms; /* in milliseconds */ #if ANY_INST_HAS_T_EXIT_DPD - uint16_t t_exit_dpd; /* in microseconds */ + uint16_t t_exit_dpd; /* in milliseconds */ #endif #endif #if ANY_INST_HAS_DPD_WAKEUP_SEQUENCE - uint16_t t_crdp_ms; /* in microseconds */ - uint16_t t_rdp_ms; /* in microseconds */ + uint16_t t_crdp_ms; /* in milliseconds */ + uint16_t t_rdp_ms; /* in milliseconds */ #endif #if ANY_INST_HAS_MXICY_MX25R_POWER_MODE