lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20090904105020.13527.97757.sendpatchset@rx1.opensource.se>
Date:	Fri, 04 Sep 2009 19:50:20 +0900
From:	Magnus Damm <magnus.damm@...il.com>
To:	ian@...menth.co.uk
Cc:	akpm@...ux-foundation.org, broonie@...nsource.wolfsonmicro.com,
	linux-kernel@...r.kernel.org, damm@...nsource.se,
	lethal@...ux-sh.org, drzeus@...eus.cx, philipp.zabel@...il.com,
	Magnus Damm <magnus.damm@...il.com>, g.liakhovetski@....de
Subject: [PATCH] mmc: SuperH Mobile changes for tmio_mmc

From: Magnus Damm <damm@...nsource.se>

Update the tmio_mmc driver to enable SuperH Mobile hardware.

Signed-off-by: Magnus Damm <damm@...nsource.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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ