[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211108100902.GE2001@kadam>
Date: Mon, 8 Nov 2021 13:09:02 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: linuxarm@...wei.com, mauro.chehab@...wei.com,
Alan <alan@...ux.intel.com>, Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Tomi Valkeinen <tomi.valkeinen@...asonboard.com>,
Tsuchiya Yuto <kitakar@...il.com>,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-staging@...ts.linux.dev
Subject: Re: [PATCH] media: atomisp: allocate a v4l2_fh at open time
On Fri, Nov 05, 2021 at 09:51:38AM +0000, Mauro Carvalho Chehab wrote:
> ---
> drivers/staging/media/atomisp/pci/atomisp_fops.c | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/media/atomisp/pci/atomisp_fops.c b/drivers/staging/media/atomisp/pci/atomisp_fops.c
> index 7df982c80b1a..41fa0ca2d8d4 100644
> --- a/drivers/staging/media/atomisp/pci/atomisp_fops.c
> +++ b/drivers/staging/media/atomisp/pci/atomisp_fops.c
> @@ -782,6 +782,15 @@ static int atomisp_open(struct file *file)
> * FIXME: revisit this with a better check once the code structure
> * is cleaned up a bit more
> */
> +dev_info(isp->dev, "opening v4l2 fh\n");
This line looks like debugging code that was committed accidentally?
Not indented.
Doesn't apply for on latest linux-next. Not sure why.
regards,
dan carpenter
> + ret = v4l2_fh_open(file);
> + if (ret) {
> + dev_err(isp->dev,
> + "%s: v4l2_fh_open() returned error %d\n",
> + __func__, ret);
> + rt_mutex_unlock(&isp->loading);
> + return ret;
> + }
Powered by blists - more mailing lists