diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/xve_gp106.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/xve_gp106.c b/drivers/gpu/nvgpu/gp106/xve_gp106.c index 89b6b873..a3514fc0 100644 --- a/drivers/gpu/nvgpu/gp106/xve_gp106.c +++ b/drivers/gpu/nvgpu/gp106/xve_gp106.c | |||
@@ -355,7 +355,6 @@ static int __do_xve_set_speed_gp106(struct gk20a *g, u32 next_link_speed) | |||
355 | err_status = -ETIMEDOUT; | 355 | err_status = -ETIMEDOUT; |
356 | xv_sc_dbg(EXEC_CHANGE, " timeout; pl_link_config = 0x%x", | 356 | xv_sc_dbg(EXEC_CHANGE, " timeout; pl_link_config = 0x%x", |
357 | pl_link_config); | 357 | pl_link_config); |
358 | break; | ||
359 | } | 358 | } |
360 | 359 | ||
361 | xv_sc_dbg(EXEC_CHANGE, " Change done... Checking status"); | 360 | xv_sc_dbg(EXEC_CHANGE, " Change done... Checking status"); |
@@ -376,8 +375,10 @@ static int __do_xve_set_speed_gp106(struct gk20a *g, u32 next_link_speed) | |||
376 | link_speed_setting, | 375 | link_speed_setting, |
377 | xve_link_control_status_link_speed_v(link_control_status)); | 376 | xve_link_control_status_link_speed_v(link_control_status)); |
378 | 377 | ||
379 | if (err_status == -ETIMEDOUT) | 378 | if (err_status == -ETIMEDOUT) { |
380 | xv_sc_dbg(EXEC_CHANGE, " Oops timed out?"); | 379 | xv_sc_dbg(EXEC_CHANGE, " Oops timed out?"); |
380 | break; | ||
381 | } | ||
381 | } while (attempts-- > 0 && | 382 | } while (attempts-- > 0 && |
382 | link_speed_setting != | 383 | link_speed_setting != |
383 | xve_link_control_status_link_speed_v(link_control_status)); | 384 | xve_link_control_status_link_speed_v(link_control_status)); |