From: Tony Lindgren <tony@atomide.com>
To: Todd Poynor <tpoynor@mvista.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: Pending patches mostly pushed, please check
Date: Tue, 3 Jan 2006 16:27:56 -0800 [thread overview]
Message-ID: <20060104002756.GW6034@atomide.com> (raw)
In-Reply-To: <20060103223657.GA30294@slurryseal.ddns.mvista.com>
* Todd Poynor <tpoynor@mvista.com> [060103 14:36]:
> On Tue, Jan 03, 2006 at 11:13:56AM -0800, Tony Lindgren wrote:
> >
> > Also reply to this thread if you know if a patch that you think
> > should be pushed and has not been pushed yet.
>
> Here's one that probably should go in, although del_mtd_partitions +
> mtdblock is known broken
> (http://lists.infradead.org/pipermail/linux-mtd/2004-November/011007.html).
>
> ---------- snip
>
> OMAP MTD NOR mapping driver remove partitions created from platform data.
>
> Signed-off-by: Todd Poynor <tpoynor@mvista.com>
>
> ---
> commit 54131af1a43d5ddabfd5b96fd74e51de86943894
> tree 94686025ea41abb2ecd102e3bb15f93b3e77f09f
> parent 91b3e09b5720c0ed00d059a3b95cdf3a4c1a18fb
> author Todd Poynor <tpoynor@mvista.com> Tue, 03 Jan 2006 14:31:59 -0800
> committer Todd Poynor <tpoynor@mvista.com> Tue, 03 Jan 2006 14:31:59 -0800
>
> drivers/mtd/maps/omap_nor.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mtd/maps/omap_nor.c b/drivers/mtd/maps/omap_nor.c
> index a6e705f..6614e97 100644
> --- a/drivers/mtd/maps/omap_nor.c
> +++ b/drivers/mtd/maps/omap_nor.c
> @@ -137,11 +137,12 @@ out_free_info:
> static int __devexit omapflash_remove(struct platform_device *pdev)
> {
> struct omapflash_info *info = platform_get_drvdata(pdev);
> + struct flash_platform_data *pdata = pdev->dev.platform_data;
>
> platform_set_drvdata(pdev, NULL);
>
> if (info) {
> - if (info->parts) {
> + if (info->parts || (pdata && pdata->parts)) {
> del_mtd_partitions(info->mtd);
> kfree(info->parts);
> } else
>
Just pushed this one.
Tony
next prev parent reply other threads:[~2006-01-04 0:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-27 9:51 Pending patches Dirk Behme
2005-12-27 18:01 ` Anderson.Briglia
2005-12-28 15:53 ` Anderson Lizardo
2005-12-30 22:28 ` Tony Lindgren
2006-01-03 19:13 ` Pending patches mostly pushed, please check Tony Lindgren
2006-01-03 20:41 ` Ladislav Michl
2006-01-04 0:09 ` Tony Lindgren
2006-01-03 22:36 ` Todd Poynor
2006-01-04 0:27 ` Tony Lindgren [this message]
2006-01-04 0:25 ` Todd Poynor
2006-01-04 0:33 ` Tony Lindgren
2006-01-04 7:12 ` Komal Shah
2006-01-06 19:37 ` [PATCH] Convert touchscreen to input_allocate_device Dirk Behme
2006-01-14 0:18 ` Tony Lindgren
2006-01-06 19:37 ` [PATCH] Re: Pending patches mostly pushed, please check Dirk Behme
2006-01-14 0:20 ` Tony Lindgren
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=20060104002756.GW6034@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=tpoynor@mvista.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox