All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>, leonl@leopardimaging.com
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH 1/1] imx274: Fix error handling, add MAINTAINERS entry
Date: Fri, 8 Dec 2017 12:20:01 -0200	[thread overview]
Message-ID: <20171208122001.36c95432@vento.lan> (raw)
In-Reply-To: <20171101094327.7702-1-sakari.ailus@linux.intel.com>

Em Wed,  1 Nov 2017 11:43:27 +0200
Sakari Ailus <sakari.ailus@linux.intel.com> escreveu:

> Add the missing MAINTAINERS entry for imx274, fix error handling in driver
> probe and unregister the correct control handler in driver remove.
> 
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> ---
> The earlier version of the imx274 patchset got merged, this is the diff
> between what was merged and what was intended.
> 
>  MAINTAINERS                | 8 ++++++++
>  drivers/media/i2c/imx274.c | 5 ++---
>  2 files changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index adbf69306e9e..a50dc70ae30b 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -12494,6 +12494,14 @@ S:	Maintained
>  F:	drivers/ssb/
>  F:	include/linux/ssb/
>  
> +SONY IMX274 SENSOR DRIVER
> +M:	Leon Luo <leonl@leopardimaging.com>
> +L:	linux-media@vger.kernel.org
> +T:	git git://linuxtv.org/media_tree.git
> +S:	Maintained
> +F:	drivers/media/i2c/imx274.c
> +F:	Documentation/devicetree/bindings/media/i2c/imx274.txt
> +

We need Leon's signed-off-by for this change.

>  SONY MEMORYSTICK CARD SUPPORT
>  M:	Alex Dubov <oakad@yahoo.com>
>  W:	http://tifmxx.berlios.de/
> diff --git a/drivers/media/i2c/imx274.c b/drivers/media/i2c/imx274.c
> index ab6a5f31da74..737dbf59a0d2 100644
> --- a/drivers/media/i2c/imx274.c
> +++ b/drivers/media/i2c/imx274.c

While it is OK (and actually preferred) to have MAINTAINERS together
with new drivers, please don't mix driver fixes with MAINTAINERS addition.

> @@ -1770,8 +1770,7 @@ static int imx274_probe(struct i2c_client *client,
>  	return 0;
>  
>  err_ctrls:
> -	v4l2_async_unregister_subdev(sd);
> -	v4l2_ctrl_handler_free(sd->ctrl_handler);
> +	v4l2_ctrl_handler_free(&imx274->ctrls.handler);
>  err_me:
>  	media_entity_cleanup(&sd->entity);
>  err_regmap:
> @@ -1788,7 +1787,7 @@ static int imx274_remove(struct i2c_client *client)
>  	imx274_write_table(imx274, mode_table[IMX274_MODE_STOP_STREAM]);
>  
>  	v4l2_async_unregister_subdev(sd);
> -	v4l2_ctrl_handler_free(sd->ctrl_handler);
> +	v4l2_ctrl_handler_free(&imx274->ctrls.handler);
>  	media_entity_cleanup(&sd->entity);
>  	mutex_destroy(&imx274->lock);
>  	return 0;



Thanks,
Mauro

      reply	other threads:[~2017-12-08 14:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01  9:43 [PATCH 1/1] imx274: Fix error handling, add MAINTAINERS entry Sakari Ailus
2017-12-08 14:20 ` Mauro Carvalho Chehab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171208122001.36c95432@vento.lan \
    --to=mchehab@s-opensource.com \
    --cc=leonl@leopardimaging.com \
    --cc=linux-media@vger.kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.