113289b3ad6f5b41a73e51cf4310c42e7e851bc4
[oweals/openwrt.git] /
1 From 800cd6716ba60faf5f1782935c12b12943237de4 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Thu, 16 May 2019 15:17:19 +0100
4 Subject: [PATCH 635/703] staging: vcsm-cma: Drop logging level on messages in
5  vc_sm_release_resource
6
7 They weren't errors but were logged as such.
8
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
10 ---
11  drivers/staging/vc04_services/vc-sm-cma/vc_sm.c | 7 +++----
12  1 file changed, 3 insertions(+), 4 deletions(-)
13
14 --- a/drivers/staging/vc04_services/vc-sm-cma/vc_sm.c
15 +++ b/drivers/staging/vc04_services/vc-sm-cma/vc_sm.c
16 @@ -301,14 +301,13 @@ static void vc_sm_release_resource(struc
17  
18         if (buffer->vc_handle) {
19                 /* We've sent the unmap request but not had the response. */
20 -               pr_err("[%s]: Waiting for VPU unmap response on %p\n",
21 -                      __func__, buffer);
22 +               pr_debug("[%s]: Waiting for VPU unmap response on %p\n",
23 +                        __func__, buffer);
24                 goto defer;
25         }
26         if (buffer->in_use) {
27                 /* dmabuf still in use - we await the release */
28 -               pr_err("[%s]: buffer %p is still in use\n",
29 -                      __func__, buffer);
30 +               pr_debug("[%s]: buffer %p is still in use\n", __func__, buffer);
31                 goto defer;
32         }
33