From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
To: Jingoo Han <jg1.han@samsung.com>
Cc: "'Tejun Heo'" <tj@kernel.org>,
"'Ben Dooks'" <ben-linux@fluff.org>,
"'Kukjin Kim'" <kgene.kim@samsung.com>,
linux-ide@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pata_samsung_cf: fix ata_host_activate() failure handling
Date: Tue, 15 Apr 2014 13:45:34 +0200 [thread overview]
Message-ID: <2600390.JXZXrjzsbS@amdc1032> (raw)
In-Reply-To: <000801cf4d48$54c45210$fe4cf630$%han@samsung.com>
Hi,
Tejun, could you please also pick this one?
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
On Tuesday, April 01, 2014 10:18:46 AM Jingoo Han wrote:
> On Tuesday, April 01, 2014 2:53 AM, Tejun Heo wrote:
> >
> > Add missing clk_disable() call to ata_host_activate() failure path.
> >
> > Cc: Ben Dooks <ben-linux@fluff.org>
> > Cc: Kukjin Kim <kgene.kim@samsung.com>
> > Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
>
> Reviewed-by: Jingoo Han <jg1.han@samsung.com>
>
> Best regards,
> Jingoo Han
>
> > ---
> > drivers/ata/pata_samsung_cf.c | 10 +++++++---
> > 1 file changed, 7 insertions(+), 3 deletions(-)
> >
> > Index: b/drivers/ata/pata_samsung_cf.c
> > ===================================================================
> > --- a/drivers/ata/pata_samsung_cf.c 2014-03-14 16:45:04.344724378 +0100
> > +++ b/drivers/ata/pata_samsung_cf.c 2014-03-31 18:31:58.083631437 +0200
> > @@ -594,9 +594,13 @@ static int __init pata_s3c_probe(struct
> >
> > platform_set_drvdata(pdev, host);
> >
> > - return ata_host_activate(host, info->irq,
> > - info->irq ? pata_s3c_irq : NULL,
> > - 0, &pata_s3c_sht);
> > + ret = ata_host_activate(host, info->irq,
> > + info->irq ? pata_s3c_irq : NULL,
> > + 0, &pata_s3c_sht);
> > + if (ret)
> > + goto stop_clk;
> > +
> > + return 0;
> >
> > stop_clk:
> > clk_disable(info->clk);
> >
> > --
next prev parent reply other threads:[~2014-04-15 11:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-31 17:52 [PATCH] pata_samsung_cf: fix ata_host_activate() failure handling Bartlomiej Zolnierkiewicz
2014-04-01 1:18 ` Jingoo Han
2014-04-15 11:45 ` Bartlomiej Zolnierkiewicz [this message]
2014-04-15 12:49 ` Tejun Heo
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=2600390.JXZXrjzsbS@amdc1032 \
--to=b.zolnierkie@samsung.com \
--cc=ben-linux@fluff.org \
--cc=jg1.han@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=tj@kernel.org \
/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