320552e6c80ee28b00c626c32f0be31e03130e43
[openwrt/staging/981213.git] /
1 From c38256621d4dffbbc0c19737d724724f04b0df9a 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] 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