diff options
Diffstat (limited to 'drivers/video/b2r2/b2r2_profiler_socket.c')
-rw-r--r-- | drivers/video/b2r2/b2r2_profiler_socket.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/video/b2r2/b2r2_profiler_socket.c b/drivers/video/b2r2/b2r2_profiler_socket.c index f96ab5be76e..ffa7f2870c8 100644 --- a/drivers/video/b2r2/b2r2_profiler_socket.c +++ b/drivers/video/b2r2/b2r2_profiler_socket.c @@ -81,12 +81,13 @@ void b2r2_call_profiler_blt_done(const struct b2r2_blt_request * const request) { int return_value; struct b2r2_blt_profiling_info blt_profiling_info; + struct b2r2_control *cont = request->instance->control; return_value = down_interruptible(&b2r2_profiler_lock); if (return_value != 0) { - dev_err(b2r2_blt_device(), - "%s: Failed to acquire semaphore, ret=%i. Lost profiler call!\n", - __func__, return_value); + dev_err(cont->dev, + "%s: Failed to acquire semaphore, ret=%i. " + "Lost profiler call!\n", __func__, return_value); return; } |