From: Joonyoung Shim <jy0922.shim@samsung.com>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: linux-media@vger.kernel.org, kyungmin.park@samsung.com,
p.osciak@samsung.com, s.nawrocki@samsung.com,
Tobias Lorenz <tobias.lorenz@gmx.net>,
Douglas Schilling Landgraf <dougsland@redhat.com>,
Jean Delvare <khali@linux-fr.org>
Subject: Re: [PATCH 8/8] v4l: radio: si470x: fix unneeded free_irq() call
Date: Mon, 06 Sep 2010 16:14:19 +0900 [thread overview]
Message-ID: <4C8494CB.4020007@samsung.com> (raw)
In-Reply-To: <1283756030-28634-9-git-send-email-m.szyprowski@samsung.com>
On 2010-09-06 오후 3:53, Marek Szyprowski wrote:
> In case of error during probe() the driver calls free_irq() function
> on not yet allocated irq. This patches fixes the call sequence in case of
> the error.
>
I sent this fix patch but it didn't go to linux-media ML by certain
reason. Anyway this is good catch.
Acked-by: Joonyoung Shim <jy0922.shim@samsung.com>
> Signed-off-by: Marek Szyprowski<m.szyprowski@samsung.com>
> Signed-off-by: Kyungmin Park<kyungmin.park@samsung.com>
> CC: Tobias Lorenz<tobias.lorenz@gmx.net>
> CC: Joonyoung Shim<jy0922.shim@samsung.com>
> CC: Douglas Schilling Landgraf<dougsland@redhat.com>
> CC: Jean Delvare<khali@linux-fr.org>
> ---
> drivers/media/radio/si470x/radio-si470x-i2c.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/radio/si470x/radio-si470x-i2c.c b/drivers/media/radio/si470x/radio-si470x-i2c.c
> index 67a4ec8..4ce541a 100644
> --- a/drivers/media/radio/si470x/radio-si470x-i2c.c
> +++ b/drivers/media/radio/si470x/radio-si470x-i2c.c
> @@ -395,7 +395,7 @@ static int __devinit si470x_i2c_probe(struct i2c_client *client,
> radio->registers[POWERCFG] = POWERCFG_ENABLE;
> if (si470x_set_register(radio, POWERCFG)< 0) {
> retval = -EIO;
> - goto err_all;
> + goto err_video;
> }
> msleep(110);
>
prev parent reply other threads:[~2010-09-06 7:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-06 6:53 [PATCH] various bugfixes for 2.6.36-rc3 Marek Szyprowski
2010-09-06 6:53 ` [PATCH 1/8] v4l: s5p-fimc: Fix return value on probe() failure Marek Szyprowski
2010-09-06 6:53 ` [PATCH 2/8] v4l: s5p-fimc: Fix 3-planar formats handling and pixel offset error on S5PV210 SoCs Marek Szyprowski
2010-09-06 6:53 ` [PATCH 3/8] v4l: s5p-fimc: Register definition cleanup Marek Szyprowski
2010-09-06 6:53 ` [PATCH 4/8] v4l: videobuf: Fail streamon on an output device when no buffers queued Marek Szyprowski
2010-09-06 6:53 ` [PATCH 5/8] v4l: videobuf: prevent passing a NULL to dma_free_coherent() Marek Szyprowski
2010-09-06 6:53 ` [PATCH 6/8] v4l: videobuf: remove unused is_userptr variable Marek Szyprowski
2010-09-06 6:53 ` [PATCH 7/8] v4l: Add EBUSY error description for VIDIOC_STREAMON Marek Szyprowski
2010-10-23 0:18 ` Mauro Carvalho Chehab
2010-10-24 16:52 ` Pawel Osciak
2010-10-24 19:50 ` Laurent Pinchart
2010-10-24 20:14 ` Devin Heitmueller
2010-09-06 6:53 ` [PATCH 8/8] v4l: radio: si470x: fix unneeded free_irq() call Marek Szyprowski
2010-09-06 7:12 ` Jean Delvare
2010-09-06 7:14 ` Joonyoung Shim [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=4C8494CB.4020007@samsung.com \
--to=jy0922.shim@samsung.com \
--cc=dougsland@redhat.com \
--cc=khali@linux-fr.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=p.osciak@samsung.com \
--cc=s.nawrocki@samsung.com \
--cc=tobias.lorenz@gmx.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox