public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: ian@mnementh.co.uk
Cc: akpm@linux-foundation.org, broonie@opensource.wolfsonmicro.com,
	linux-kernel@vger.kernel.org, damm@opensource.se,
	lethal@linux-sh.org, drzeus@drzeus.cx, philipp.zabel@gmail.com,
	Magnus Damm <magnus.damm@gmail.com>,
	g.liakhovetski@gmx.de
Subject: [PATCH] mmc: SuperH Mobile changes for tmio_mmc
Date: Fri, 04 Sep 2009 19:50:20 +0900	[thread overview]
Message-ID: <20090904105020.13527.97757.sendpatchset@rx1.opensource.se> (raw)

From: Magnus Damm <damm@opensource.se>

Update the tmio_mmc driver to enable SuperH Mobile hardware.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 Please apply on top of the following patch by Ian Molton:
 "Example idea for how to solve the clock/cnf problem"

 drivers/mmc/host/Kconfig    |    2 +-
 drivers/mmc/host/tmio_mmc.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- 0001/drivers/mmc/host/Kconfig
+++ work/drivers/mmc/host/Kconfig	2009-08-20 23:48:11.000000000 +0900
@@ -273,7 +273,7 @@ config MMC_SDRICOH_CS
 
 config MMC_TMIO
 	tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support"
-	depends on MFD_TMIO || MFD_ASIC3
+	depends on MFD_TMIO || MFD_ASIC3 || SUPERH
 	help
 	  This provides support for the SD/MMC cell found in TC6393XB,
 	  T7L66XB and also HTC ASIC3
--- 0006/drivers/mmc/host/tmio_mmc.c
+++ work/drivers/mmc/host/tmio_mmc.c	2009-08-20 23:48:11.000000000 +0900
@@ -516,7 +516,7 @@ static int __devinit tmio_mmc_probe(stru
 	struct mmc_host *mmc;
 	int ret = -EINVAL;
 
-	if (dev->num_resources != 3)
+	if (dev->num_resources != 2)
 		goto out;
 
 	res_ctl = platform_get_resource(dev, IORESOURCE_MEM, 0);

                 reply	other threads:[~2009-09-04 10:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090904105020.13527.97757.sendpatchset@rx1.opensource.se \
    --to=magnus.damm@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=damm@opensource.se \
    --cc=drzeus@drzeus.cx \
    --cc=g.liakhovetski@gmx.de \
    --cc=ian@mnementh.co.uk \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=philipp.zabel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox