Fix compile error.

Signed-off-by: Matthew Brost <[email protected]>
---
 drivers/dma-buf/st-dma-fence.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dma-buf/st-dma-fence.c b/drivers/dma-buf/st-dma-fence.c
index 27a36045410b..bf82981f4259 100644
--- a/drivers/dma-buf/st-dma-fence.c
+++ b/drivers/dma-buf/st-dma-fence.c
@@ -451,8 +451,8 @@ struct race_thread {
 
 static void __wait_for_callbacks(struct dma_fence *f)
 {
-       spin_lock_irq(f->lock);
-       spin_unlock_irq(f->lock);
+       spin_lock_irq(f->extern_lock);
+       spin_unlock_irq(f->extern_lock);
 }
 
 static int thread_signal_callback(void *arg)
-- 
2.34.1

Reply via email to