Re: [PATCH v5 3/3] memstick: Add realtek USB memstick host driver

2014-04-01 Thread Andrew Morton
On Tue, 1 Apr 2014 11:20:32 +0800 Roger rogera...@realtek.com wrote: On 03/25/2014 06:44 PM, rogera...@realtek.com wrote: From: Roger Tseng rogera...@realtek.com Realtek USB memstick host driver provides memstick host support based on the Realtek USB card reader MFD driver.

Re: [PATCH v4 3/3] memstick: Add realtek USB memstick host driver

2014-03-20 Thread Andrew Morton
On Wed, 12 Feb 2014 18:00:38 +0800 rogera...@realtek.com wrote: From: Roger Tseng rogera...@realtek.com Realtek USB memstick host driver provides memstick host support based on the Realtek USB card reader MFD driver. ... +#include linux/module.h +#include linux/highmem.h +#include

Re: [PATCH v4 3/3] memstick: Add realtek USB memstick host driver

2014-03-20 Thread Andrew Morton
On Thu, 20 Mar 2014 16:38:03 +0800 Roger rogera...@realtek.com wrote: On 02/12/2014 06:00 PM, rogera...@realtek.com wrote: From: Roger Tseng rogera...@realtek.com Realtek USB memstick host driver provides memstick host support based on the Realtek USB card reader MFD driver.

Re: [PATCH] avr32-linux: at32ap700x: set DMA slave properties for MCI dw_dmac

2012-08-31 Thread Andrew Morton
On Mon, 27 Aug 2012 04:56:55 +0800 Hein Tibosch hein_tibo...@yahoo.es wrote: The MCI makes use of the dw_dmac driver when DMA is being used. Due to recent changes the driver was broken because: - the SMS field in the CTLL register received the wrong value 0 - a patch in dw_dmac allowed for

Re: [Bugme-new] [Bug 32242] New: irq 18, nobody cared, nor did irqpoll

2011-03-30 Thread Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Wed, 30 Mar 2011 13:06:17 GMT bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=32242 Summary: irq 18, nobody cared, nor did irqpoll

drivers/mmc/host/sdhci-of-core.c on sparc64

2011-01-13 Thread Andrew Morton
drivers/mmc/host/sdhci-of-core.c:24:25: asm/machdep.h: No such file or directory drivers/mmc/host/sdhci-of-core.c: In function `sdhci_of_wp_inverted': drivers/mmc/host/sdhci-of-core.c:115: error: implicit declaration of function `machine_is' That code's been there for a while. Did someone

Re: drivers/mmc/host/sdhci-of-core.c on sparc64

2011-01-13 Thread Andrew Morton
On Thu, 13 Jan 2011 23:38:28 + Chris Ball c...@laptop.org wrote: On Thu, Jan 13, 2011 at 03:10:33PM -0800, Andrew Morton wrote: drivers/mmc/host/sdhci-of-core.c:24:25: asm/machdep.h: No such file or directory drivers/mmc/host/sdhci-of-core.c: In function `sdhci_of_wp_inverted

Re: [RFC] mmcoops with panic/oops

2010-11-30 Thread Andrew Morton
On Tue, 30 Nov 2010 17:42:13 +0900 Jaehoon Chung jh80.ch...@samsung.com wrote: This patch is mmcoops. When Kernel panic or oops, write panic log to circular buffer in eMMC. then after reset, we can see the log in MMC. So we need change mmc_wait_for_req(). because if we used schedule(),

Re: [PATCH v5 2/2] sdhci-s3c: Add support no internal clock divider in host controller

2010-10-12 Thread Andrew Morton
On Tue, 12 Oct 2010 03:59:46 +0100 Chris Ball c...@laptop.org wrote: Hi Kyungmin, On Tue, Oct 12, 2010 at 11:53:35AM +0900, Kyungmin Park wrote: Hi Chris, we make a conclusion use this patch. Can you merge it for 2.6.37? Acked-by: Kyungmin Park kyungmin.p...@samsung.com I don't

Re: [PATCH] sdhci-s3c: fix incorrect spinlock usage after merge

2010-09-20 Thread Andrew Morton
On Tue, 21 Sep 2010 02:17:11 +0100 Chris Ball c...@laptop.org wrote: On Mon, Sep 20, 2010 at 03:03:42PM +0200, Marek Szyprowski wrote: In the commit f522886e202a34a2191dd5d471b3c4d46410a9a0 a merge conflict in the sdhci-s3c driver been fixed. However the fix used incorrect spinlock

Re: [Bugme-new] [Bug 18602] New: mmc_block / tifm_sd not completely registering when a new sd card is inserted

2010-09-15 Thread Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Wed, 15 Sep 2010 13:48:30 GMT bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=18602 Summary: mmc_block / tifm_sd not completely registering

Re: MMC maintainer

2010-09-10 Thread Andrew Morton
On Fri, 10 Sep 2010 21:14:19 +0100 Chris Ball c...@laptop.org wrote: On Thu, Sep 09, 2010 at 11:47:50AM -0700, Andrew Morton wrote: These things can happen in parallel - get the tree set up, get it into linux-next, start putting patches in it. If I see patches turn up in linux-next which

Re: [PATCH] MMC: move regulator handling closer to core v3

2010-09-08 Thread Andrew Morton
On Sun, 5 Sep 2010 11:05:38 +0200 Linus Walleij linus.wall...@stericsson.com wrote: After discovering a problem in regulator reference counting I took Mark Brown's advice to move the reference count into the MMC core by making the regulator status a member of struct mmc_host. ...

Re: [PATCH 0/8] sdhci: Move real work out of an atomic context

2010-09-07 Thread Andrew Morton
On Wed, 14 Jul 2010 17:07:28 +0400 Anton Vorontsov avoront...@mvista.com wrote: Hi all, Currently the sdhci driver does everything in the atomic context. And what is worse, PIO transfers are made from the IRQ handler. This causes huge latencies (up to 120 ms). On some P2020 SOCs, DMA and

Re: [PATCH v4] mmc: Make ID freq configurable

2010-09-03 Thread Andrew Morton
On Fri, 3 Sep 2010 02:47:57 +0100 Chris Ball c...@laptop.org wrote: - mmc_send_if_cond(host, host-ocr_avail); + printk (mmc_rescan: trying %u Hz\n, host-f_init); Need a loglevel here, and an mmc_hostname. Something like: pr_info(%s: %s: trying to init card

Re: [PATCH RESEND] initialise DMA engine before MMC

2010-08-27 Thread Andrew Morton
On Fri, 27 Aug 2010 20:49:39 +0100 Chris Ball c...@laptop.org wrote: Hi, Andrew, mind taking this one? From: Guennadi Liakhovetski g.liakhovet...@gmx.de Date: Mon, 7 Jun 2010 13:16:36 +0200 (CEST) To use DMA engine based DMA with MMC in a non-modular build, the DMA engine has to

Re: [PATCH] tmio_mmc: Prevents unexpected status clear

2010-08-26 Thread Andrew Morton
On Thu, 26 Aug 2010 08:26:42 +0100 Matt Fleming m...@console-pimps.org wrote: On Thu, Aug 26, 2010 at 03:58:38PM +0900, Magnus Damm wrote: Hi Matt, Just FYI, the newer version of these patches also have a whole bunch of acked-by and tested-by tags, see this email:

Re: [PATCH] tmio_mmc: Revise a limit of the data size

2010-08-25 Thread Andrew Morton
On Wed, 25 Aug 2010 22:52:08 +0100 Matt Fleming m...@console-pimps.org wrote: On Tue, 13 Jul 2010 11:32:33 +0900 Yusuke Goda yusuke.goda...@renesas.com wrote: Hi Andrew Andrew Morton wrote: On Wed, 07 Jul 2010 11:01:20 +0900 Yusuke Goda yusuke.goda...@renesas.com wrote

Re: [PATCH] tmio_mmc: Prevents unexpected status clear

2010-08-25 Thread Andrew Morton
On Wed, 25 Aug 2010 23:11:07 +0100 Matt Fleming m...@console-pimps.org wrote: On Thu, 15 Jul 2010 13:25:52 -0700 Andrew Morton a...@linux-foundation.org wrote: On Tue, 13 Jul 2010 10:16:39 +0900 Yusuke Goda yusuke.goda...@renesas.com wrote: Hi Andrew Thank you for your

Re: [PATCH] MMC: add support for the Marvell platform SDHCI controller

2010-08-25 Thread Andrew Morton
On Wed, 25 Aug 2010 23:39:58 +0100 Matt Fleming m...@console-pimps.org wrote: On Tue, 22 Jun 2010 17:09:02 +0300 Saeed Bishara sa...@marvell.com wrote: This patch implements the driver for the platfrom SDHCI controllers that found on some of Marvell's SoC's. Signed-off-by: Saeed

Re: + sdhci-support-mmc_cap_mmc_highspeed.patch added to -mm tree

2010-08-23 Thread Andrew Morton
On Mon, 23 Aug 2010 21:22:58 +0100 Matt Fleming m...@console-pimps.org wrote: On Mon, Aug 23, 2010 at 01:09:21PM -0700, Andrew Morton wrote: The patch titled sdhci: support MMC_CAP_MMC_HIGHSPEED has been added to the -mm tree. Its filename is sdhci-support

Re: [PATCH] mmc: MMC 4.4 DDR support

2010-08-23 Thread Andrew Morton
On Mon, 23 Aug 2010 21:48:29 +0100 Matt Fleming m...@console-pimps.org wrote: On Sat, Aug 21, 2010 at 06:37:45PM -0400, Chris Ball wrote: Hi, Hm is there some problem with this patch or has the processing of it simply stalled? When I read the thread I cannot see Hanumaths

Re: MMC workflow (was Re: [PATCH] mmc: MMC 4.4 DDR support)

2010-08-23 Thread Andrew Morton
On Mon, 23 Aug 2010 17:45:28 -0400 Chris Ball c...@laptop.org wrote: Hi, It's possible Andrew has a reason that hasn't been picked up yet. Maybe what we really need is to get patchwork setup for the linux-mmc list? Other subsystem maintainers swear by it. That way,

Re: [PATCH] mmc: make dev_to_mmc_card() macro public

2010-08-20 Thread Andrew Morton
On Fri, 20 Aug 2010 10:17:20 +0300 Andy Shevchenko andy.shevche...@gmail.com wrote: On Fri, Aug 20, 2010 at 12:49 AM, Andrew Morton a...@linux-foundation.org wrote: nit: generally, subsystem-specific identifiers should use their subsystem's identifier as a prefix. __So a better name

Re: [patch 13/20] mmc: avoid getting CID on SDIO-only cards

2010-08-19 Thread Andrew Morton
On Thu, 19 Aug 2010 14:13:36 -0700 a...@linux-foundation.org wrote: From: David Vrabel david.vra...@csr.com The introduction of support for SD combo cards breaks the initialization of all CSR SDIO chips. The GO_IDLE (CMD0) in mmc_sd_get_cid() causes CSR chips to be reset (this is

Re: 'error: 'SDHCI_QUIRK_NO_HISPD_BIT' undeclared' and 'undefined reference to `sdhci_card_detect''

2010-08-18 Thread Andrew Morton
patch) My patches submited to Andrew Morton had the description and a note that they have been prepared especially for his tree, taking into account all patches that are already there (mainly a tasklets to threaded irq conversion). For me it was quite obvious that they will be merged after all

Re: MMC breakage

2010-08-17 Thread Andrew Morton
On Tue, 17 Aug 2010 16:21:32 +0100 Chris Ball c...@laptop.org wrote: Hi Russell, On Tue, Aug 17, 2010 at 02:54:56PM +0100, Russell King wrote: I get the following build error: drivers/built-in.o: In function `mmc_alloc_host': mmci.c:(.text+0x80c44): undefined reference to

Re: + sdhci-add-no-hi-speed-bit-quirk-support.patch added to -mm tree

2010-08-10 Thread Andrew Morton
On Fri, 11 Jun 2010 12:25:32 +0900 Kyungmin Park kmp...@infradead.org wrote: On Fri, Jun 11, 2010 at 9:42 AM, Ben Dooks ben-li...@fluff.org wrote: On Thu, Jun 10, 2010 at 01:43:19PM -0700, a...@linux-foundation.org wrote: The patch titled __ __ __SDHCI: add no hi-speed bit quirk support

Re: MMC: [PATCH 0/2 v2] Two fixes for mmc system

2010-08-05 Thread Andrew Morton
On Fri, 06 Aug 2010 01:39:39 +0300 Maxim Levitsky maximlevit...@gmail.com wrote: On Thu, 2010-08-05 at 15:22 -0700, Andrew Morton wrote: On Thu, 05 Aug 2010 16:36:03 +0300 Maxim Levitsky maximlevit...@gmail.com wrote: On Sat, 2010-07-31 at 15:37 +0300, Maxim Levitsky wrote: Hi

Re: [PATCH -mm] mmc: add ricoh e822 pci id

2010-08-04 Thread Andrew Morton
On Wed, 4 Aug 2010 18:20:57 +0200 Stanislaw Gruszka sgrus...@redhat.com wrote: From: cybercas...@gmail.com Does this person have a name? We've had fusses in the past over anonymous contributors, although nobody's going to be making a fuss over a patch of this nature. -- To unsubscribe from

Re: [PATCH] mmc: add SDHCI driver for STM platforms.

2010-08-03 Thread Andrew Morton
On Mon, 2 Aug 2010 15:36:31 +0100 Matt Fleming m...@console-pimps.org wrote: What is devm_stm_pad_claim()? I can't find this function in linus' tree, or in -next, or in Andrew's -mm series. Where is this function from? This comes from our STMicroelectronics platform pad management

Re: [PATCH 1/3 v2] sdhci: Add auto CMD12 support for eSDHC driver

2010-08-03 Thread Andrew Morton
On Tue, 3 Aug 2010 11:11:10 +0800 Roy Zang tie-fei.z...@freescale.com wrote: --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -240,6 +240,8 @@ struct sdhci_host { #define SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN(125) /* Controller cannot support End Attribute in NOP

Re: [PATCH] mmc: add SDHCI driver for STM platforms.

2010-08-03 Thread Andrew Morton
On Wed, 4 Aug 2010 07:35:20 +0200 Peppe CAVALLARO peppe.cavall...@st.com wrote: Hi Andrew, -Original Message- From: Andrew Morton [mailto:a...@linux-foundation.org] Sent: Wednesday, August 04, 2010 12:21 AM To: Matt Fleming Cc: Peppe CAVALLARO; linux-mmc@vger.kernel.org

Re: [PATCH] mmc_test: Add performance tests

2010-07-26 Thread Andrew Morton
On Fri, 23 Jul 2010 12:25:47 +0300 Adrian Hunter adrian.hun...@nokia.com wrote: +/* + * Allocate a lot of memory, preferrably max_sz but at least min_sz. In case + * there isn't much memory do not exceed 1/16th total RAM. + */ +static struct mmc_test_mem *mmc_test_alloc_mem(unsigned int

Re: [PATCH 0/8] sdhci: Move real work out of an atomic context

2010-07-21 Thread Andrew Morton
On Wed, 14 Jul 2010 17:07:28 +0400 Anton Vorontsov avoront...@mvista.com wrote: Hi all, Currently the sdhci driver does everything in the atomic context. And what is worse, PIO transfers are made from the IRQ handler. This causes huge latencies (up to 120 ms). On some P2020 SOCs, DMA and

Re: [PATCH] tmio_mmc: Prevents unexpected status clear

2010-07-15 Thread Andrew Morton
On Tue, 13 Jul 2010 10:16:39 +0900 Yusuke Goda yusuke.goda...@renesas.com wrote: Hi Andrew Thank you for your comment. #define ack_mmc_irqs(host, i) \ do { \ - u32 mask;\ - mask = sd_ctrl_read32((host), CTL_STATUS); \ - mask = ~((i) TMIO_MASK_IRQ);

Re: [PATCH v3] Samsung: sdhci-s3c: add support for new card detection methods

2010-07-15 Thread Andrew Morton
specific code) thread. They have been already taken by Andrew Morton into his patch tracking tree. I hope these changes to platform specific code gets merged soon, so the changes to the driver can be merged as well. The patch has been prepared for the following git tree: git://git.kernel.org/pub

Re: [Bugme-new] [Bug 16390] New: Memory card reader does not function [Dell Latitude E6510, Ricoh device]

2010-07-14 Thread Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Wed, 14 Jul 2010 19:13:33 GMT bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=16390 Summary: Memory card reader does not function [Dell

Re: [PATCH 1/3] sdhci-s3c: add missing remove function

2010-07-12 Thread Andrew Morton
On Mon, 12 Jul 2010 13:04:09 +0200 Marek Szyprowski m.szyprow...@samsung.com wrote: static int __devexit sdhci_s3c_remove(struct platform_device *pdev) { + struct sdhci_host *host = platform_get_drvdata(pdev); + struct sdhci_s3c *sc = sdhci_priv(host); + int ptr; + +

Re: [PATCH 2/3] sdhci-s3c: add support for the non standard minimal clock value

2010-07-09 Thread Andrew Morton
On Wed, 16 Jun 2010 08:49:55 +0200 Marek Szyprowski m.szyprow...@samsung.com wrote: S3C SDHCI host controller can change the source for generating mmc clock. By default host bus clock is used, what causes some problems on machines with 133MHz bus, because the SDHCI divider cannot be as high

Re: [PATCH 3/3] sdhci-s3c: add support for new card detection methods

2010-07-09 Thread Andrew Morton
On Wed, 16 Jun 2010 08:49:56 +0200 Marek Szyprowski m.szyprow...@samsung.com wrote: On some Samsung SoCs not all SDHCI controllers have card detect (CD) line. For some embedded designs it is not even needed, because ususally the device (like SDIO flash memory or wifi controller) is permanently

Re: [PATCH 1/3] sdhci-s3c: add missing remove function

2010-07-09 Thread Andrew Morton
On Wed, 16 Jun 2010 08:49:54 +0200 Marek Szyprowski m.szyprow...@samsung.com wrote: Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/mmc/host/sdhci-s3c.c | 20 1 files changed, 20

Re: [PATCH] tmio_mmc: Prevents unexpected status clear

2010-07-08 Thread Andrew Morton
On Wed, 07 Jul 2010 10:59:52 +0900 Yusuke Goda yusuke.goda...@renesas.com wrote: This patch clears only necessary bit. Signed-off-by: Yusuke Goda yusuke.goda...@renesas.com --- drivers/mmc/host/tmio_mmc.h |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] tmio_mmc: Revise a limit of the data size

2010-07-08 Thread Andrew Morton
On Wed, 07 Jul 2010 11:01:20 +0900 Yusuke Goda yusuke.goda...@renesas.com wrote: Signed-off-by: Yusuke Goda yusuke.goda...@renesas.com --- drivers/mmc/host/tmio_mmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/tmio_mmc.c

Re: [PATCH 3/3] sdhci-pltfm: Add support for CNS3xxx SoC devices

2010-07-01 Thread Andrew Morton
On Fri, 25 Jun 2010 22:06:44 +0400 Anton Vorontsov avoront...@mvista.com wrote: There's nothing special, just SoC-specific ops and quirks. ... +static void sdhci_cns3xxx_set_clock(struct sdhci_host *host, unsigned int clock) +{ + struct device *dev = mmc_dev(host-mmc); + int

Re: [PATCH v3] MMC: Add JZ4740 mmc driver

2010-06-30 Thread Andrew Morton
On Mon, 28 Jun 2010 03:20:41 +0200 Lars-Peter Clausen l...@metafoo.de wrote: This patch adds support for the mmc controller on JZ4740 SoCs. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Cc: Andrew Morton a...@linux-foundation.org Cc: Matt Fleming m...@console-pimps.org Cc: linux-mmc

Re: [PATCH V3 4/5] block: Add secure discard

2010-06-30 Thread Andrew Morton
On Thu, 24 Jun 2010 11:44:23 +0300 Adrian Hunter adrian.hun...@nokia.com wrote: From b25b9a499f255ee5999c219525d82ef40382318c Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Wed, 23 Jun 2010 15:41:38 +0300 Subject: [PATCH 4/5] block: Add secure discard Secure

Re: [PATCH V3 1/5] mmc: Add erase, secure erase, trim and secure trim operations

2010-06-30 Thread Andrew Morton
On Thu, 24 Jun 2010 11:44:00 +0300 Adrian Hunter adrian.hun...@nokia.com wrote: SD/MMC cards tend to support an erase operation. In addition, eMMC v4.4 cards can support secure erase, trim and secure trim operations that are all variants of the basic erase command. The patch proposes a new

Re: [PATCH 3/3] SDHCI: 8-bit data transfer width support

2010-06-29 Thread Andrew Morton
On Mon, 28 Jun 2010 12:48:29 -0700 Grant Likely grant.lik...@secretlab.ca wrote: On Mon, Jun 28, 2010 at 12:33 PM, Olof Johansson o...@lixom.net wrote: On Mon, Jun 28, 2010 at 11:56:26AM -0700, Colin Cross wrote: These patches are not coming from the tegra/for-next branch, they are coming

Re: [PATCH 2/3] SDHCI: Don't assign mmc-caps at SDHCI directly

2010-06-28 Thread Andrew Morton
On Sat, 12 Jun 2010 14:44:50 +0900 Kyungmin Park kyungmin.p...@samsung.com wrote: From: Kyungmin Park kyungmin.p...@samsung.com Some host controller can set mmc-caps before sdhci_add_host. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/mmc/host/sdhci.c |2 +- 1

Re: [PATCH 3/3] SDHCI: 8-bit data transfer width support

2010-06-28 Thread Andrew Morton
On Sat, 12 Jun 2010 14:45:02 +0900 Kyungmin Park kyungmin.p...@samsung.com wrote: From: Kyungmin Park kyungmin.p...@samsung.com Some host constroller such as s5pc110 has WIDE8 support feature. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/mmc/host/sdhci.c |5

Re: MMC tree (Was: Re: [PATCH 1/2] MMC: fix all hangs related to mmc/sd card insert/removal during suspend/resume.)

2010-06-22 Thread Andrew Morton
On Wed, 23 Jun 2010 13:08:37 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, On Tue, 22 Jun 2010 15:20:06 -0700 Andrew Morton a...@linux-foundation.org wrote: On Tue, 22 Jun 2010 23:53:21 +0200 Rafael J. Wysocki r...@sisk.pl wrote: Andrew, who's maintaining MMC now

Re: [PATCH] Two fixes for my mmc/sd cardreader

2010-06-21 Thread Andrew Morton
On Mon, 21 Jun 2010 22:21:44 +0300 Maxim Levitsky maximlevit...@gmail.com wrote: On Fri, 2010-06-18 at 00:21 +0300, Maxim Levitsky wrote: Hi, These are 2 fixes for my card reader. First patch fixes old issue with system hand on suspend to disk/ram with mmc card inserted. I

Re: [PATCH v5 2/2] OMAP4 HSMMC: Adding card detect support for MMC1 Controller

2010-06-17 Thread Andrew Morton
On Thu, 17 Jun 2010 20:57:19 +0530 (IST) kishore kadiyala kishore.kadiy...@ti.com wrote: Adding card detect callback function which gives the status of the card .For MMC1 Controller, Card detect interrupt source is twl6030 and card present/absent status is provided by MMCCTRL register of

Re: [PATCH v5 1/2] OMAP HSMMC: Adding a Flag to determine the type of Card detect

2010-06-17 Thread Andrew Morton
On Thu, 17 Jun 2010 20:56:58 +0530 (IST) kishore kadiyala kishore.kadiy...@ti.com wrote: --- a/arch/arm/plat-omap/include/plat/mmc.h +++ b/arch/arm/plat-omap/include/plat/mmc.h @@ -43,6 +43,9 @@ #define OMAP_MMC_MAX_SLOTS 2 +#define NON_GPIO 0 +#define GPIO

Re: [PATCH v5 2/2] OMAP4 HSMMC: Adding card detect support for MMC1 Controller

2010-06-17 Thread Andrew Morton
On Thu, 17 Jun 2010 20:57:19 +0530 (IST) kishore kadiyala kishore.kadiy...@ti.com wrote: Adding card detect callback function which gives the status of the card .For MMC1 Controller, Card detect interrupt source is twl6030 and card present/absent status is provided by MMCCTRL register of

Re: [PATCH v2] MMC: fix all hangs related to mmc/sd card insert/removal during suspend/resume.

2010-06-14 Thread Andrew Morton
On Fri, 11 Jun 2010 22:19:55 +0300 Maxim Levitsky maximlevit...@gmail.com wrote: If you don't use CONFIG_MMC_UNSAFE_RESUME, card will now be removed in pm notified while userspace is still running. Thus it will be possible to sync it propely. That paragraph is a disaster and I'm not sure that

Re: [Bugme-new] [Bug 16119] New: jmb38x recognized and works only if a card is plugged in during boot

2010-06-04 Thread Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Fri, 4 Jun 2010 01:09:03 GMT bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=16119 Summary: jmb38x recognized and works only if a card is

Re: [PATCH] [MMC] omap: Remove BUG_ON for disabled interrupts

2010-06-02 Thread Andrew Morton
On Sat, 29 May 2010 19:27:23 -0700 Cory Maccarrone darkstar6...@gmail.com wrote: This change removes a BUG_ON for when interrupts are disabled during an MMC request. During boot, interrupts can be disabled when a request is made, causing this bug to be triggered. In reality, there's no

Re: [PATCH 9/9] ARM: add DMA support to sh7372, enable DMA for SDHI

2010-05-26 Thread Andrew Morton
On Thu, 13 May 2010 08:57:06 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Wed, 12 May 2010, Andrew Morton wrote: On Tue, 4 May 2010 16:07:15 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: This patch depends on patch series from Magnus

Re: [PATCH 0/3] tmio: let platforms decide upon write-protection availability

2010-05-21 Thread Andrew Morton
On Wed, 19 May 2010 20:35:57 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: No changes to patches themselves, just re-sending with an ack added. Applies on top of the [PATCH 0/10] add DMA support to tmio_mmc, using dmaengine API, use it on SH patch series. Paul, are

Re: [Bugme-new] [Bug 15876] New: MMC initialisation: valid devices fail to init due to frequency check

2010-05-21 Thread Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Thu, 29 Apr 2010 10:26:39 GMT bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=15876 Summary: MMC initialisation: valid devices fail to init

Re: [PATCH] sdhci-spear: ST SPEAr based SDHCI controller glue

2010-05-19 Thread Andrew Morton
On Wed, 5 May 2010 15:05:18 +0530 Viresh KUMAR viresh.ku...@st.com wrote: This patch adds glue layer for support of sdhci driver on ST SPEAr platform. Looks OK to my untrained eye. A few very minor things: ... +static irqreturn_t sdhci_gpio_irq(int irq, void *dev_id) +{ + struct

Re: [PATCH] sdio: add new function for RAW (Read after Write) operation

2010-05-14 Thread Andrew Morton
to implement proper power save mode : support in wl1251 wifi driver. : : Signed-off-by: Grazvydas Ignotas nota...@gmail.com : Signed-off-by: Andrew Morton a...@linux-foundation.org : --- : : drivers/mmc/core/sdio_io.c| 31 +++ : include/linux/mmc/sdio_func.h |3

Re: [PATCH 0/9 v3] add DMA support to tmio_mmc, using dmaengine API, use it on SH

2010-05-13 Thread Andrew Morton
On Thu, 13 May 2010 15:44:21 +0900 Paul Mundt let...@linux-sh.org wrote: On Thu, May 13, 2010 at 08:42:42AM +0200, Guennadi Liakhovetski wrote: On Wed, 12 May 2010, Andrew Morton wrote: On Tue, 11 May 2010 12:07:07 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote

Re: [PATCH] mmc-omap: Add support for 16-bit and 32-bit registers

2010-05-13 Thread Andrew Morton
On Thu, 13 May 2010 12:29:35 -0700 Tony Lindgren t...@atomide.com wrote: * Cory Maccarrone darkstar6...@gmail.com [100307 09:44]: From: Marek Belisko marek.beli...@open-nandra.com The omap850 and omap730 use 16-bit registers instead of 32-bit, requiring a modification of the register

Re: [PATCH] omap_hsmmc: improve interrupt synchronisation

2010-05-12 Thread Andrew Morton
On Wed, 12 May 2010 10:50:45 +0300 Adrian Hunter adrian.hun...@nokia.com wrote: From ad2e1cd024ccf9144b6620cfe808893719db738f Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Wed, 14 Apr 2010 16:26:45 +0300 Subject: [PATCH] omap_hsmmc: improve interrupt

Re: [PATCH] MMC: at91_mci: modify cache flush routines

2010-05-12 Thread Andrew Morton
On Tue, 11 May 2010 19:09:53 +0200 Nicolas Ferre nicolas.fe...@atmel.com wrote: As we were using an internal dma flushing routine, this patch changes to the DMA API flush_kernel_dcache_page(). Driver is able to compile now. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com ---

Re: [PATCH 9/9] ARM: add DMA support to sh7372, enable DMA for SDHI

2010-05-12 Thread Andrew Morton
On Tue, 4 May 2010 16:07:15 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: This patch depends on patch series from Magnus for shmobile, adding INTC and clock support. This patch wasn't there in the first version of this series. Where is that patch series now? -- To

Re: [PATCH 0/9 v3] add DMA support to tmio_mmc, using dmaengine API, use it on SH

2010-05-12 Thread Andrew Morton
On Tue, 11 May 2010 12:07:07 +0200 (CEST) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: 2.6.35 release is approaching and Ian hasn't found time yet to review this series, so I was wondering, maybe you could take it into mm at least for now? Well I did, but I don't know how useful that

Re: mmc: sdhci.h compile error

2010-04-30 Thread Andrew Morton
On Mon, 26 Apr 2010 14:17:04 +0400 Anton Vorontsov cbouatmai...@gmail.com wrote: On Sun, Apr 25, 2010 at 11:28:17PM +0100, Matt Fleming wrote: On Wed, 21 Apr 2010 19:43:32 +0800, zhangfei gao zhangfei@gmail.com wrote: There is compile error when we enable

Re: + sdhci-rename-sdhci-i-o-accessor-functions.patch added to -mm tree

2010-04-30 Thread Andrew Morton
Gao zg...@marvell.com Acked-by: Anton Vorontsov cbouatmai...@gmail.com Cc: linux-mmc@vger.kernel.org Signed-off-by: Andrew Morton a...@linux-foundation.org Hi Andrew, this patch got a couple more ACKs from Wolfram Sang and Ben Dooks. Would like me to respin the patch? I updated

Re: [PATCH 1/4] MMC: atmel-mci: fix two parameters swapped

2010-04-28 Thread Andrew Morton
Patches 1-3 (at least) appear to be applicable to 2.6.33.x and perhaps earlier. But you didn't cc sta...@kernel.org and there was no Cc: sta...@kernel.org in the changelog and in this case I'd prefer not to make that decision myself? -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/2] MMC: Add support MMCIF for SuperH

2010-04-27 Thread Andrew Morton
On Tue, 27 Apr 2010 19:15:02 +0900 Yusuke Goda yusuke.goda...@renesas.com wrote: MMCIF is MMC Host Interface in SuperH. ... +static void sh_mmcif_clock_control(struct sh_mmcif_host *host, unsigned int clk) +{ + int i; + struct sh_mmcif_plat_data *p =

Re: [PATCH 1/2 v2] MMC:Add support MMCIF for SuperH

2010-04-27 Thread Andrew Morton
On Wed, 28 Apr 2010 14:06:08 +0900 Yusuke Goda yusuke.goda...@renesas.com wrote: + time = wait_event_interruptible_timeout(host-intr_wait, + host-wait_int == 1 || + host-sd_error == 1, host-timeout); + if (host-wait_int != 1 (time == 0 ||

Re: [Bug 15836] Commit 6ad696d2cf535772dff659298ec7e7260e344595 breaks my SD card reader [197b:2381]

2010-04-26 Thread Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Mon, 26 Apr 2010 20:48:47 GMT bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=15836 OK, I give up. Can anyone suggest how

Re: [Bugme-new] [Bug 15656] New: System sluggish when using ENE SD card reader

2010-04-01 Thread Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Wed, 31 Mar 2010 11:09:28 GMT bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=15656 Summary: System sluggish when using ENE SD card reader

Re: [PATCH 3/3] sdhci-pltfm: Do not print errors in case of an extended iomem size

2010-03-22 Thread Andrew Morton
On Wed, 17 Mar 2010 07:02:52 +0100 Richard R__jfors richard.rojf...@pelagicore.com wrote: On 3/16/10 7:34 PM, Anton Vorontsov wrote: Some hosts have an extended SDHCI iomem size, so the driver should only print errors if the iomem size is less than 0x100. With this change you allow a

Re: [PATCH 2/2] davinci: MMC: updates to suspend/resume implementation

2010-03-22 Thread Andrew Morton
On Tue, 16 Mar 2010 13:30:25 -0700 Kevin Hilman khil...@deeprootsystems.com wrote: +static struct dev_pm_ops davinci_mmcsd_pm = { + .suspend= davinci_mmcsd_suspend, + .resume = davinci_mmcsd_resume, +}; checkpatch said WARNING: struct dev_pm_ops should normally be

Re: [PATCH] mmc: fix incorrect interpretation of card type bits

2010-03-22 Thread Andrew Morton
On Fri, 19 Mar 2010 08:24:56 +0200 Adrian Hunter adrian.hun...@nokia.com wrote: From: Adrian Hunter adrian.hun...@nokia.com Date: Fri, 19 Mar 2010 08:06:54 +0200 Subject: [PATCH] mmc: fix incorrect interpretation of card type bits In the extended CSD register the CARD_TYPE is an 8-bit value

Re: [PATCH v2] davinci: MMC: Pass number of SG segments as platform data

2010-03-15 Thread Andrew Morton
On Fri, 12 Mar 2010 18:04:09 +0530 Sudhakar Rajashekhara sudhakar@ti.com wrote: On some platforms like DM355, the number of EDMA parameter slots available for EDMA_SLOT_ANY usage are few. In such cases, if MMC/SD uses 16 slots for each instance of MMC controller, then the number of slots

Re: + sdio-recognize-io-card-without-powercycle.patch added to -mm tree

2010-03-05 Thread Andrew Morton
On Fri, 05 Mar 2010 23:25:54 +0100 Albert Herranz albert_herr...@yahoo.es wrote: a...@linux-foundation.org wrote: The patch titled sdio: recognize io card without powercycle has been added to the -mm tree. Its filename is sdio-recognize-io-card-without-powercycle.patch

Re: [PATCH 4/7] mmc: at91_mci: use DMA buffer for read

2010-03-02 Thread Andrew Morton
On Fri, 26 Feb 2010 19:39:32 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: + kunmap_atomic(((void *)sgbuffer)-sg-offset, KM_BIO_SRC_IRQ); It's a feature of kunmap_atomic() that it will accept a pointer to any location in the page. So the subtraction isn't strictly needed. And

Re: [PATCH] mxcmmc: fixed max_seg_size value on initialization.

2010-02-24 Thread Andrew Morton
On Tue, 26 Jan 2010 14:40:04 +0300 Vladimir Zapolskiy vzapols...@gmail.com wrote: Signed-off-by: Vladimir Zapolskiy vzapols...@gmail.com Cc: Sascha Hauer s.ha...@pengutronix.de Cc: Pierre Ossman pie...@ossman.eu --- drivers/mmc/host/mxcmmc.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH] tmio_mmc: keep card-detect interrupts enabled

2010-02-16 Thread Andrew Morton
IRQs. Why is the current code disabling card-detect interrupts on DATA IRQs? Was that just a bug? What effect will this change have for current users of this driver? --- On Thu, 17 Dec 2009, Andrew Morton wrote: On Thu, 17 Dec 2009 21:25:52 +0100 (CET) Guennadi Liakhovetski g.liakhovet

Re: [PATCH 1/5] SDIO: introduce API for special power management features

2010-02-11 Thread Andrew Morton
On Tue, 09 Feb 2010 15:29:22 -0500 Nicolas Pitre n...@fluxnic.net wrote: + BUG_ON(!func); + BUG_ON(!func-card); + + host = func-card-host; It's a bit redundant to check for null and then deref the pointer - the kernel will reliably oops on the NULL deref, which gives us the same

Re: [PATCH] MMC: fix hang if card was removed during suspend and unsafe resume was enabled

2010-02-05 Thread Andrew Morton
On Fri, 05 Feb 2010 10:31:42 +0200 Maxim Levitsky maximlevit...@gmail.com wrote: On Thu, 2010-02-04 at 16:09 -0800, Andrew Morton wrote: On Fri, 5 Feb 2010 01:18:15 +0200 Maxim Levitsky maximlevit...@gmail.com wrote: Currently removal of the card leads to del_disk called indirectly

Re: [PATCH] MMC: fix hang if card was removed during suspend and unsafe resume was enabled

2010-02-05 Thread Andrew Morton
On Fri, 05 Feb 2010 17:52:00 +0200 Maxim Levitsky maximlevit...@gmail.com wrote: 4[15241.042047] [8106620a] ? prepare_to_wait+0x2a/0x90 4[15241.042159] [810790bd] ? trace_hardirqs_on+0xd/0x10 4[15241.042271] [8140db12] ?

Re: [PATCH] MMC: fix hang if card was removed during suspend and unsafe resume was enabled

2010-02-04 Thread Andrew Morton
On Fri, 5 Feb 2010 01:18:15 +0200 Maxim Levitsky maximlevit...@gmail.com wrote: Currently removal of the card leads to del_disk called indirectly by mmc core. This function expects userspace to be running, which isn't when .resume is called Fix that by removing the code that did that in

Re: [PATCH-Resend] mmc_test: block addressed cards

2010-02-01 Thread Andrew Morton
On Mon, 1 Feb 2010 13:04:55 +0100 Johan Kristell johan.krist...@axis.com wrote: The tests in mmc_test assumes that all cards are byte addressable. This patch updates the tests to also work with cards that use block addresses. When fixing a bug, please decribe the bug! Otherwise it's hard for

Re: [PATCH 3/3] mmc: bfin_sdh: set timeout based on actual card data

2010-01-25 Thread Andrew Morton
On Tue, 19 Jan 2010 03:02:11 -0500 Mike Frysinger vap...@gentoo.org wrote: From: Cliff Cai cliff@analog.com The hardcoded value doesn't really work for all cards. Signed-off-by: Cliff Cai cliff@analog.com Signed-off-by: Mike Frysinger vap...@gentoo.org Please don't write crappy

Re: [PATCH v2] port ricoh_mmc to be pci quirk

2010-01-12 Thread Andrew Morton
maximlevit...@gmail.com Cc: Philip Langdale phil...@overt.org Cc: linux-mmc@vger.kernel.org Signed-off-by: Andrew Morton a...@linux-foundation.org --- drivers/mmc/host/Kconfig | 10 - drivers/mmc/host/Makefile|1 drivers/mmc/host/ricoh_mmc.c | 262

Re: [Bugme-new] [Bug 14983] New: SD card reader stopped working completely

2010-01-08 Thread Andrew Morton
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Mon, 4 Jan 2010 10:22:53 GMT bugzilla-dae...@bugzilla.kernel.org wrote: http://bugzilla.kernel.org/show_bug.cgi?id=14983 Summary: SD card reader stopped working completely

Re: [PATCH 3/3] mmc_block: fix queue cleanup

2009-12-22 Thread Andrew Morton
On Fri, 18 Dec 2009 14:15:48 +0200 Adrian Hunter adrian.hun...@nokia.com wrote: The main bug was that 'blk_cleanup_queue()' was called while the block device could still be in use, for example, because the card was removed while files were still open. In addition, to be sure that

Re: [PATCH] mmc: allow for MMC v4.4

2009-12-22 Thread Andrew Morton
On Fri, 18 Dec 2009 14:25:33 +0200 Adrian Hunter adrian.hun...@nokia.com wrote: JEDEC eMMC specification version 4.4 (MMCA 4.4) defines Extended CSD structure versions up to 5. Not such a nice changelog. It doesn't describe the effects of the current code's shortcoming so I was unable to

Re: [PATCH/RFC] tmio_mmc: keep card-detect interrupts enabled

2009-12-17 Thread Andrew Morton
On Thu, 17 Dec 2009 21:25:52 +0100 (CET) Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: I originally submitted this [1] patch on the 6th of November, then accidentally the MMC list got dropped from CC and the discussion moved to another irrelevant list, Ian's last reply is at [2].

Re: [PATCH v4][mmc/host]:Blackfin SD Host Controller Driver

2009-11-25 Thread Andrew Morton
On Wed, 25 Nov 2009 23:19:50 +0800 cliffcai...@gmail.com wrote: From: Cliff Cai cliffcai...@gmail.com Add SD host driver for Blackfin BF54x and BF51x. Signed-off-by: Cliff Cai cliffcai...@gmail.com Signed-off-by: Bryan Wu coolo...@kernel.org Signed-off-by: Mike Frysinger

Re: [PATCH] mmc: add module parameter to set whether cards are assumed removable

2009-11-16 Thread Andrew Morton
On Wed, 11 Nov 2009 04:44:36 + Ben Hutchings b...@decadent.org.uk wrote: Some people run general-purpose distribution kernels on netbooks with a card that is physically non-removable or logically non-removable (e.g. used for /home) and cannot be cleanly unmounted during suspend. Add a

Re: TMIO MMC: full patchset.

2009-09-30 Thread Andrew Morton
On Thu, 1 Oct 2009 10:30:42 +0900 Magnus Damm magnus.d...@gmail.com wrote: Any chance we can get at least the ian-0001 patch and the kconfig bit merged in 2.6.32-rc? wakes up Please flag the proposed merge plans clearly in the description when you send out the patch series and lets take a

Re: [PATCH 1/2] atmel-mci: change use of dma slave interface

2009-09-29 Thread Andrew Morton
On Thu, 17 Sep 2009 18:29:26 +0200 Nicolas Ferre nicolas.fe...@atmel.com wrote: Allow the use of another DMA controller driver in atmel-mci sd/mmc driver. This adds a generic dma_slave pointer to the mci platform structure where we can store DMA controller information. In atmel-mci we use

  1   2   >