Skip to content

Commit

Permalink
drivers: flash: spi_nor: doc: correct comment
Browse files Browse the repository at this point in the history
the durations in the spi_nor_config struct
are in milliseconds not in microseconds.

(cherry picked from commit ba5b4ae)

Original-Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
GitOrigin-RevId: ba5b4ae
Change-Id: I251478b4f696d61f0896beafe9cdd7ea4167234a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5745061
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
maass-hamburg authored and Chromeos LUCI committed Jul 27, 2024
1 parent 7c7bd0b commit 503179a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/flash/spi_nor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 503179a

Please sign in to comment.