Fix spelling mistake in struct dmub_timeout_info field name.
Rename 'timeout_occured' to 'timeout_occurred' and update
all references in dc_dmub_srv.c accordingly.

Signed-off-by: Gustavo Kenji Mendonça Kaneko <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 4 ++--
 drivers/gpu/drm/amd/display/dmub/dmub_srv.h  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c 
b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
index 79c8b4cab053..4b47172a71c0 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
+++ b/drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
@@ -285,8 +285,8 @@ bool dc_dmub_srv_wait_for_idle(struct dc_dmub_srv 
*dc_dmub_srv,
 
                if (status != DMUB_STATUS_OK) {
                        DC_LOG_DEBUG("No reply for DMUB command: status=%d\n", 
status);
-                       if (!dmub->debug.timeout_info.timeout_occured) {
-                               dmub->debug.timeout_info.timeout_occured = true;
+                       if (!dmub->debug.timeout_info.timeout_occurred) {
+                               dmub->debug.timeout_info.timeout_occurred = 
true;
                                if (cmd_list)
                                        dmub->debug.timeout_info.timeout_cmd = 
*cmd_list;
                                dmub->debug.timeout_info.timestamp = 
dm_get_timestamp(dc_dmub_srv->ctx);
diff --git a/drivers/gpu/drm/amd/display/dmub/dmub_srv.h 
b/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
index c18ff8f00bb8..33fcda687a86 100644
--- a/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
+++ b/drivers/gpu/drm/amd/display/dmub/dmub_srv.h
@@ -355,11 +355,11 @@ struct dmub_srv_hw_params {
 
 /**
  * struct dmub_srv_debug - Debug info for dmub_srv
- * @timeout_occured: Indicates a timeout occured on any message from driver to 
dmub
+ * @timeout_occurred: Indicates a timeout occurred on any message from driver 
to dmub
  * @timeout_cmd: first cmd sent from driver that timed out - subsequent 
timeouts are not stored
  */
 struct dmub_timeout_info {
-       bool timeout_occured;
+       bool timeout_occurred;
        union dmub_rb_cmd timeout_cmd;
        unsigned long long timestamp;
 };
-- 
2.54.0


Reply via email to