diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c b/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c index d8e4e705..4e0cb2ee 100644 --- a/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/clk_arb_gp10b.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * Permission is hereby granted, free of charge, to any person obtaining a | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
5 | * copy of this software and associated documentation files (the "Software"), | 5 | * copy of this software and associated documentation files (the "Software"), |
@@ -393,8 +393,8 @@ exit_arb: | |||
393 | nvgpu_clk_dev, node) { | 393 | nvgpu_clk_dev, node) { |
394 | nvgpu_atomic_set(&dev->poll_mask, NVGPU_POLLIN | NVGPU_POLLRDNORM); | 394 | nvgpu_atomic_set(&dev->poll_mask, NVGPU_POLLIN | NVGPU_POLLRDNORM); |
395 | nvgpu_clk_arb_event_post_event(dev); | 395 | nvgpu_clk_arb_event_post_event(dev); |
396 | nvgpu_ref_put(&dev->refcount, nvgpu_clk_arb_free_fd); | ||
397 | nvgpu_list_del(&dev->node); | 396 | nvgpu_list_del(&dev->node); |
397 | nvgpu_ref_put(&dev->refcount, nvgpu_clk_arb_free_fd); | ||
398 | } | 398 | } |
399 | nvgpu_spinlock_release(&arb->requests_lock); | 399 | nvgpu_spinlock_release(&arb->requests_lock); |
400 | 400 | ||