All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Vorontsov <cbouatmailru@gmail.com>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: linux-mmc@vger.kernel.org, zhangfei gao <zhangfei.gao@gmail.com>,
	Zhu Richard-R65037 <r65037@freescale.com>,
	Philip Rakity <prakity@marvell.com>
Subject: Re: [PATCH 4/6] mmc: sdhci_pltfm: pass platform_data on custom init-call
Date: Tue, 28 Sep 2010 16:58:11 +0400	[thread overview]
Message-ID: <20100928125811.GA32279@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <1285677406-3359-5-git-send-email-w.sang@pengutronix.de>

On Tue, Sep 28, 2010 at 02:36:44PM +0200, Wolfram Sang wrote:
> The custom init call may need more data to perform its job, so we pass
> it a pointer to the platform_data, too. Now, for drivers extending
> sdhci-pltfm (like sdhci-cns3xxx), a fixed platform_data is used
> according to the platform device id. Because that one does not contain
> board specific information, we simply name the board specific
> information information priv_pdata and pass it to the init routine as
> well. (Note: the old behaviour was that you could override the platform
> id specific data with your own. However, one can still do this by using
> the "sdhci" id instead of "sdhci-<something>".)
> 
> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
> ---
> 
> Changes since previous version:
> 
> Rebased and dropped imx-specific stuff as mentioned by zhangfei gao.
> 
> priv_pdata might not be needed as Giuseppe pointed out. Will update with
> the next revision of this series, if needed.

Yeah, priv_pdata becomes just pdata. Please remove it
from the callback.

Thanks,

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

  reply	other threads:[~2010-09-28 12:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-28 12:36 [PATCH 0/6] Add driver for mx35/51-esdhc-controller (and update sdhci for that) Wolfram Sang
2010-09-28 12:36 ` [PATCH 1/6] mmc: sdhci-pltfm: Add structure for host-specific data Wolfram Sang
2010-09-28 12:57   ` Anton Vorontsov
2010-09-28 13:54   ` zhangfei gao
     [not found]   ` <48641052-49AF-4A24-9C8C-42E59791D6A7@marvell.com>
2010-09-28 14:49     ` Wolfram Sang
2010-09-28 12:36 ` [PATCH 2/6] mmc: sdhci-pltfm: move .h-file into apropriate subdir Wolfram Sang
2010-09-28 12:36 ` [PATCH 3/6] mmc: sdhci: introduce private get_ro Wolfram Sang
2010-09-28 12:36 ` [PATCH 4/6] mmc: sdhci_pltfm: pass platform_data on custom init-call Wolfram Sang
2010-09-28 12:58   ` Anton Vorontsov [this message]
2010-09-28 12:36 ` [PATCH 5/6] mmc: sdhci-of-esdhc: factor out common stuff Wolfram Sang
2010-09-28 12:58   ` Anton Vorontsov
2010-09-28 12:36 ` [PATCH 6/6] mmc: sdhci-pltfm: add pltfm-driver for imx35/51 Wolfram Sang
2010-09-28 12:58   ` Anton Vorontsov
2010-09-28 14:04   ` zhangfei gao
2010-09-28 14:51     ` Wolfram Sang
2010-09-28 20:57     ` Ben Dooks
2010-09-29  1:59       ` zhangfei gao
2010-09-29  2:27         ` Zhu Richard-R65037
2010-09-29  3:22           ` zhangfei gao
2010-09-29  3:41             ` Zhu Richard-R65037
2010-09-29 19:26       ` Wolfram Sang

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=20100928125811.GA32279@oksana.dev.rtsoft.ru \
    --to=cbouatmailru@gmail.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=prakity@marvell.com \
    --cc=r65037@freescale.com \
    --cc=w.sang@pengutronix.de \
    --cc=zhangfei.gao@gmail.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.