msm: camera: Retelimit log in msm_vb2_buf_cleanup.
Ratelimit log in msm_vb2_buf_cleanup to prevent excessive logging when stream is NULL. Change-Id: Ia687375c8e2a2683a4d32cd0eb984f731b2288e7 Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
This commit is contained in:
parent
a805985a97
commit
a731bc8c09
|
@ -170,7 +170,7 @@ static void msm_vb2_buf_cleanup(struct vb2_buffer *vb)
|
|||
|
||||
stream = msm_get_stream_from_vb2q(vb->vb2_queue);
|
||||
if (!stream) {
|
||||
pr_err("%s:%d] NULL stream", __func__, __LINE__);
|
||||
pr_err_ratelimited("%s:%d] NULL stream", __func__, __LINE__);
|
||||
read_unlock_irqrestore(&session->stream_rwlock, rl_flags);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue