From patchwork Thu Oct 11 18:54:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dafna Hirschfeld X-Patchwork-Id: 10637207 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D38B6933 for ; Thu, 11 Oct 2018 18:54:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2AAA2BEDC for ; Thu, 11 Oct 2018 18:54:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B64ED2BF0A; Thu, 11 Oct 2018 18:54:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB8362BEDC for ; Thu, 11 Oct 2018 18:54:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729220AbeJLCWy (ORCPT ); Thu, 11 Oct 2018 22:22:54 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:42914 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728239AbeJLCWy (ORCPT ); Thu, 11 Oct 2018 22:22:54 -0400 Received: by mail-ed1-f67.google.com with SMTP id b7-v6so9232055edd.9 for ; Thu, 11 Oct 2018 11:54:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=X3+bPGqL4pooPKJWq9cEkKwHKOqddW72GluYYB4xsa4=; b=UtET7kIjkbGdX5k0yGMwwUv7sfoCRTHdpAnQv3bFPtH6l3oAxTbYRMCYxONj5h/6CS 3TAoFrf6Gp+fM8mIxmXcqrGWEhIdyjdmCZXgSm/8UbO2Xvy2Jq5/rMfXTQ0X/NIIe1+f BqQoo9qUGPSca/P8GVN+2eS0a74U5756nHG+m244J6dx75kX/LUrEll12QU4fAImCJZB Tu75IVW/ELEFVPPxdItW4T2toAnoB0fMdvAeWs66F96ESm6WgMb7l6x66TwyYGgz9hAB 51ZFgqMb7I5yxBZjJTR+bj13Y5sAFiDUp7qzQKNw+SnFNKYeFhx2ANT+QhAkCgANz4gi SMbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=X3+bPGqL4pooPKJWq9cEkKwHKOqddW72GluYYB4xsa4=; b=tDiTVCGtxX1ijlFiMBXe26b5nJtzbPUEbI8qWaCNhmjhwGSoPs/n13uLAEFfa9K6ae oLkLCYQvd4yC7lv07Wylr/Ed5Eg1BYbemkG/ZuKu4qLQsJTY7koxgJDzyfrfSQYtnDRw dHpn2h5WgwHvoDUJ8vxsgxv3WqW6w9e7wduycaOLj+NVwgfDe18QlFuPSTVVy4NfOoTr HtRTQoONCbvwBZUjuerD32lp8Dx4DrTrjy4IAg5BdlCYOu0doiolcxLMk4t4Sx7zniyN j6OXt7KbuPAWtWCbRyNoTAmZcectOte9cRnnNJj4o5clE1Zsfbo7fGAKeaYmzNJyXeyk R5ag== X-Gm-Message-State: ABuFfoioA3gNpeTk8dph5ev75B5RUywYdQqmkEeQ3wasIOYTpUV4cJqv TbZ7L8lRx8JFn/IMgNYG9V4= X-Google-Smtp-Source: ACcGV61BVGaek+DUz6s0+VvhC2DzgAwdwmvCvDgRELujSWna+N3sgdc06kMEZTgAaDQSA/cs+ktNnQ== X-Received: by 2002:a17:906:32d9:: with SMTP id k25-v6mr3734555ejk.211.1539284063541; Thu, 11 Oct 2018 11:54:23 -0700 (PDT) Received: from localhost.localdomain ([77.139.209.224]) by smtp.gmail.com with ESMTPSA id w56-v6sm9948350edd.78.2018.10.11.11.54.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 11:54:22 -0700 (PDT) From: Dafna Hirschfeld To: mchehab@kernel.org, gregkh@linuxfoundation.org, helen.koike@collabora.com, hverkuil@xs4all.nl Cc: outreachy-kernel@googlegroups.com, dafna3@gmail.com, linux-media@vger.kernel.org Subject: [PATCH vicodec] media: davinci_vpfe: Replace function names with __func__ Date: Thu, 11 Oct 2018 21:54:10 +0300 Message-Id: <20181011185410.26268-1-dafna3@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Replace hardcoded function names with `__func__` in debug prints. Signed-off-by: Dafna Hirschfeld Acked-by: Hans Verkuil --- .../staging/media/davinci_vpfe/dm365_ipipe.c | 6 +- .../media/davinci_vpfe/dm365_resizer.c | 2 +- .../media/davinci_vpfe/vpfe_mc_capture.c | 8 +-- .../staging/media/davinci_vpfe/vpfe_video.c | 56 +++++++++---------- 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c index 95942768..4d09e814 100644 --- a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c +++ b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c @@ -695,21 +695,21 @@ static int ipipe_get_gamma_params(struct vpfe_ipipe_device *ipipe, void *param) if (!gamma->bypass_r) { dev_err(dev, - "ipipe_get_gamma_params: table ptr empty for R\n"); + "%s: table ptr empty for R\n", __func__); return -EINVAL; } memcpy(gamma_param->table_r, gamma->table_r, (table_size * sizeof(struct vpfe_ipipe_gamma_entry))); if (!gamma->bypass_g) { - dev_err(dev, "ipipe_get_gamma_params: table ptr empty for G\n"); + dev_err(dev, "%s: table ptr empty for G\n", __func__); return -EINVAL; } memcpy(gamma_param->table_g, gamma->table_g, (table_size * sizeof(struct vpfe_ipipe_gamma_entry))); if (!gamma->bypass_b) { - dev_err(dev, "ipipe_get_gamma_params: table ptr empty for B\n"); + dev_err(dev, "%s: table ptr empty for B\n", __func__); return -EINVAL; } memcpy(gamma_param->table_b, gamma->table_b, diff --git a/drivers/staging/media/davinci_vpfe/dm365_resizer.c b/drivers/staging/media/davinci_vpfe/dm365_resizer.c index 2b797474..cdf7ea4f 100644 --- a/drivers/staging/media/davinci_vpfe/dm365_resizer.c +++ b/drivers/staging/media/davinci_vpfe/dm365_resizer.c @@ -946,7 +946,7 @@ resizer_get_configuration(struct vpfe_resizer_device *resizer, if (copy_to_user((void __user *)chan_config->config, (void *)&resizer->config.user_config, sizeof(struct vpfe_rsz_config_params))) { - dev_err(dev, "resizer_get_configuration: Error in copy to user\n"); + dev_err(dev, "%s: Error in copy to user\n", __func__); return -EFAULT; } diff --git a/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c b/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c index e55c815b..8cb587d0 100644 --- a/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c +++ b/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c @@ -161,7 +161,7 @@ static irqreturn_t vpfe_isr(int irq, void *dev_id) { struct vpfe_device *vpfe_dev = dev_id; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_isr\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); vpfe_isif_buffer_isr(&vpfe_dev->vpfe_isif); vpfe_resizer_buffer_isr(&vpfe_dev->vpfe_resizer); return IRQ_HANDLED; @@ -172,7 +172,7 @@ static irqreturn_t vpfe_vdint1_isr(int irq, void *dev_id) { struct vpfe_device *vpfe_dev = dev_id; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_vdint1_isr\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); vpfe_isif_vidint1_isr(&vpfe_dev->vpfe_isif); return IRQ_HANDLED; } @@ -182,7 +182,7 @@ static irqreturn_t vpfe_imp_dma_isr(int irq, void *dev_id) { struct vpfe_device *vpfe_dev = dev_id; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_imp_dma_isr\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); vpfe_ipipeif_ss_buffer_isr(&vpfe_dev->vpfe_ipipeif); vpfe_resizer_dma_isr(&vpfe_dev->vpfe_resizer); return IRQ_HANDLED; @@ -693,7 +693,7 @@ static int vpfe_remove(struct platform_device *pdev) { struct vpfe_device *vpfe_dev = platform_get_drvdata(pdev); - v4l2_info(pdev->dev.driver, "vpfe_remove\n"); + v4l2_info(pdev->dev.driver, "%s\n", __func__); kzfree(vpfe_dev->sd); vpfe_detach_irq(vpfe_dev); diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c b/drivers/staging/media/davinci_vpfe/vpfe_video.c index 1269a983..b9bb6dac 100644 --- a/drivers/staging/media/davinci_vpfe/vpfe_video.c +++ b/drivers/staging/media/davinci_vpfe/vpfe_video.c @@ -521,7 +521,7 @@ static int vpfe_release(struct file *file) struct vpfe_device *vpfe_dev = video->vpfe_dev; struct vpfe_fh *fh = container_of(vfh, struct vpfe_fh, vfh); - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_release\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); /* Get the device lock */ mutex_lock(&video->lock); @@ -566,7 +566,7 @@ static int vpfe_mmap(struct file *file, struct vm_area_struct *vma) struct vpfe_video_device *video = video_drvdata(file); struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_mmap\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); return vb2_mmap(&video->buffer_queue, vma); } @@ -578,7 +578,7 @@ static __poll_t vpfe_poll(struct file *file, poll_table *wait) struct vpfe_video_device *video = video_drvdata(file); struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_poll\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (video->started) return vb2_poll(&video->buffer_queue, file, wait); return 0; @@ -610,7 +610,7 @@ static int vpfe_querycap(struct file *file, void *priv, struct vpfe_video_device *video = video_drvdata(file); struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_querycap\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (video->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; @@ -641,7 +641,7 @@ static int vpfe_g_fmt(struct file *file, void *priv, struct vpfe_video_device *video = video_drvdata(file); struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_fmt\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); /* Fill in the information about format */ *fmt = video->fmt; return 0; @@ -670,7 +670,7 @@ static int vpfe_enum_fmt(struct file *file, void *priv, struct media_pad *remote; int ret; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_enum_fmt\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); /* * since already subdev pad format is set, @@ -730,7 +730,7 @@ static int vpfe_s_fmt(struct file *file, void *priv, struct v4l2_format format; int ret; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_s_fmt\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); /* If streaming is started, return error */ if (video->started) { v4l2_err(&vpfe_dev->v4l2_dev, "Streaming is started\n"); @@ -764,7 +764,7 @@ static int vpfe_try_fmt(struct file *file, void *priv, struct v4l2_format format; int ret; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_try_fmt\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); /* get adjacent subdev's output pad format */ ret = __vpfe_video_get_format(video, &format); if (ret) @@ -792,7 +792,7 @@ static int vpfe_enum_input(struct file *file, void *priv, struct vpfe_ext_subdev_info *sdinfo = video->current_ext_subdev; struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_enum_input\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); /* enumerate from the subdev user has chosen through mc */ if (inp->index < sdinfo->num_inputs) { memcpy(inp, &sdinfo->inputs[inp->index], @@ -815,7 +815,7 @@ static int vpfe_g_input(struct file *file, void *priv, unsigned int *index) struct vpfe_video_device *video = video_drvdata(file); struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_input\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); *index = video->current_input; return 0; @@ -843,7 +843,7 @@ static int vpfe_s_input(struct file *file, void *priv, unsigned int index) int ret; int i; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_s_input\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); ret = mutex_lock_interruptible(&video->lock); if (ret) @@ -880,7 +880,7 @@ static int vpfe_s_input(struct file *file, void *priv, unsigned int index) s_routing, input, output, 0); if (ret) { v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, - "s_input:error in setting input in decoder\n"); + "%s: error in setting input in decoder\n", __func__); ret = -EINVAL; goto unlock_out; } @@ -914,7 +914,7 @@ static int vpfe_querystd(struct file *file, void *priv, v4l2_std_id *std_id) struct vpfe_ext_subdev_info *sdinfo; int ret; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_querystd\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); ret = mutex_lock_interruptible(&video->lock); sdinfo = video->current_ext_subdev; @@ -945,7 +945,7 @@ static int vpfe_s_std(struct file *file, void *priv, v4l2_std_id std_id) struct vpfe_ext_subdev_info *sdinfo; int ret; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_s_std\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); /* Call decoder driver function to set the standard */ ret = mutex_lock_interruptible(&video->lock); @@ -976,7 +976,7 @@ static int vpfe_g_std(struct file *file, void *priv, v4l2_std_id *tvnorm) struct vpfe_video_device *video = video_drvdata(file); struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_std\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); *tvnorm = video->stdid; return 0; } @@ -1003,7 +1003,7 @@ vpfe_enum_dv_timings(struct file *file, void *fh, timings->pad = 0; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_enum_dv_timings\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); return v4l2_subdev_call(subdev, pad, enum_dv_timings, timings); } @@ -1027,7 +1027,7 @@ vpfe_query_dv_timings(struct file *file, void *fh, struct vpfe_device *vpfe_dev = video->vpfe_dev; struct v4l2_subdev *subdev = video->current_ext_subdev->subdev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_query_dv_timings\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); return v4l2_subdev_call(subdev, video, query_dv_timings, timings); } @@ -1049,7 +1049,7 @@ vpfe_s_dv_timings(struct file *file, void *fh, struct vpfe_video_device *video = video_drvdata(file); struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_s_dv_timings\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); video->stdid = V4L2_STD_UNKNOWN; return v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, @@ -1076,7 +1076,7 @@ vpfe_g_dv_timings(struct file *file, void *fh, struct vpfe_device *vpfe_dev = video->vpfe_dev; struct v4l2_subdev *subdev = video->current_ext_subdev->subdev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_dv_timings\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); return v4l2_subdev_call(subdev, video, g_dv_timings, timings); } @@ -1105,7 +1105,7 @@ vpfe_buffer_queue_setup(struct vb2_queue *vq, struct vpfe_device *vpfe_dev = video->vpfe_dev; unsigned long size; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_buffer_queue_setup\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); size = video->fmt.fmt.pix.sizeimage; if (vq->num_buffers + *nbuffers < 3) @@ -1133,7 +1133,7 @@ static int vpfe_buffer_prepare(struct vb2_buffer *vb) struct vpfe_device *vpfe_dev = video->vpfe_dev; unsigned long addr; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_buffer_prepare\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (vb->state != VB2_BUF_STATE_ACTIVE && vb->state != VB2_BUF_STATE_PREPARED) @@ -1299,7 +1299,7 @@ static void vpfe_buf_cleanup(struct vb2_buffer *vb) struct vpfe_cap_buffer *buf = container_of(vbuf, struct vpfe_cap_buffer, vb); - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_buf_cleanup\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (vb->state == VB2_BUF_STATE_ACTIVE) list_del_init(&buf->list); } @@ -1329,7 +1329,7 @@ static int vpfe_reqbufs(struct file *file, void *priv, struct vb2_queue *q; int ret; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_reqbufs\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (req_buf->type != V4L2_BUF_TYPE_VIDEO_CAPTURE && req_buf->type != V4L2_BUF_TYPE_VIDEO_OUTPUT){ @@ -1386,7 +1386,7 @@ static int vpfe_querybuf(struct file *file, void *priv, struct vpfe_video_device *video = video_drvdata(file); struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_querybuf\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (buf->type != V4L2_BUF_TYPE_VIDEO_CAPTURE && buf->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) { @@ -1413,7 +1413,7 @@ static int vpfe_qbuf(struct file *file, void *priv, struct vpfe_device *vpfe_dev = video->vpfe_dev; struct vpfe_fh *fh = file->private_data; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_qbuf\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (p->type != V4L2_BUF_TYPE_VIDEO_CAPTURE && p->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) { @@ -1441,7 +1441,7 @@ static int vpfe_dqbuf(struct file *file, void *priv, struct vpfe_video_device *video = video_drvdata(file); struct vpfe_device *vpfe_dev = video->vpfe_dev; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_dqbuf\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (buf->type != V4L2_BUF_TYPE_VIDEO_CAPTURE && buf->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) { @@ -1473,7 +1473,7 @@ static int vpfe_streamon(struct file *file, void *priv, struct vpfe_fh *fh = file->private_data; int ret = -EINVAL; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_streamon\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (buf_type != V4L2_BUF_TYPE_VIDEO_CAPTURE && buf_type != V4L2_BUF_TYPE_VIDEO_OUTPUT) { @@ -1518,7 +1518,7 @@ static int vpfe_streamoff(struct file *file, void *priv, struct vpfe_fh *fh = file->private_data; int ret = 0; - v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_streamoff\n"); + v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "%s\n", __func__); if (buf_type != V4L2_BUF_TYPE_VIDEO_CAPTURE && buf_type != V4L2_BUF_TYPE_VIDEO_OUTPUT) {