[PATCH -next] mmc: sdhci-dove: remove duplicated include from sdhci-dove.c

2012-10-31 Thread Wei Yongjun
From: Wei Yongjun Remove duplicated include. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun --- drivers/mmc/host/sdhci-dove.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sd

Re: drivers/mmc/card/block.c infinite loop in mmc_blk_err_check waiting on R1_READY_FOR_DATA

2012-10-31 Thread Chris Ball
Hi, On Wed, Oct 31 2012, Trey Ramsay wrote: > In the 3.7-rc3 kernel, there is an infinite loop in the > mmc_blk_err_check() function in drivers/mmc/card/block.c that can be > caused bad hardware. This loop has moved around a little, but appears > to have been around in the kernel since v2.6.12. T

Re: [PATCH V3] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-10-31 Thread Felipe Balbi
Hi, On Thu, Nov 01, 2012 at 01:21:36AM +0530, Venkatraman S wrote: > On Wed, Oct 31, 2012 at 5:56 PM, Felipe Balbi wrote: > > Hi, > > > > On Wed, Oct 31, 2012 at 05:27:36PM +0530, Hebbar, Gururaja wrote: > >> HSMMC IP on AM33xx need a special setting to handle High-speed cards. > >> Other platfor

Re: [PATCH V3] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-10-31 Thread Venkatraman S
On Wed, Oct 31, 2012 at 5:56 PM, Felipe Balbi wrote: > Hi, > > On Wed, Oct 31, 2012 at 05:27:36PM +0530, Hebbar, Gururaja wrote: >> HSMMC IP on AM33xx need a special setting to handle High-speed cards. >> Other platforms like TI81xx, OMAP4 may need this as-well. This depends >> on the HSMMC IP tim

Re: [PATCH v2] mmc: mxs-mmc: Remove platform data

2012-10-31 Thread Marek Vasut
Dear Fabio Estevam, > From: Fabio Estevam > > All MXS users have been converted to device tree and the board files have > been removed. > > No need to keep platform data in the driver. > > Also move bus_width declaration in the beggining of mxs_mmc_probe() to > avoid: 'warning: ISO C90 forbids

Re: [PATCH v2] mmc: mxs-mmc: Remove platform data

2012-10-31 Thread Fabio Estevam
On Wed, Oct 31, 2012 at 1:45 PM, Shawn Guo wrote: > Since you are here, you may also want to remove the "if (np)" check for > non-dt probe case getting devid and dma_channel. As the result, > mxs_ssp_ids can be removed as well. > > It could be another patch though, so for this one: > > Acked-by:

Re: [PATCH v2] mmc: mxs-mmc: Remove platform data

2012-10-31 Thread Shawn Guo
On Wed, Oct 31, 2012 at 09:22:58AM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > All MXS users have been converted to device tree and the board files have been > removed. > > No need to keep platform data in the driver. > > Also move bus_width declaration in the beggining of mxs_mmc_pro

Re: [PATCH V2 1/3] mmc: esdhc: enable polling to detect card by itself

2012-10-31 Thread Shawn Guo
On Tue, Oct 30, 2012 at 05:30:01PM +0800, yongd wrote: > In the current code logic, sdhci_add_host() will enable the polling > method (set MMC_CAP_NEEDS_POLL) for a removable card (MMC_CAP_ > NONREMOVABLE is not set) whose host's internal card detection method > is disabled for some reason (SDHCI_Q

Re: [PATCH V3] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-10-31 Thread Felipe Balbi
Hi, On Wed, Oct 31, 2012 at 05:27:36PM +0530, Hebbar, Gururaja wrote: > HSMMC IP on AM33xx need a special setting to handle High-speed cards. > Other platforms like TI81xx, OMAP4 may need this as-well. This depends > on the HSMMC IP timing closure done for the high speed cards. > > From AM335x TR

[PATCH V3] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-10-31 Thread Hebbar, Gururaja
HSMMC IP on AM33xx need a special setting to handle High-speed cards. Other platforms like TI81xx, OMAP4 may need this as-well. This depends on the HSMMC IP timing closure done for the high speed cards. >From AM335x TRM (SPRUH73F - 18.3.12 Output Signals Generation) The MMC/SD/SDIO output signals

[PATCH v2] mmc: mxs-mmc: Remove platform data

2012-10-31 Thread Fabio Estevam
From: Fabio Estevam All MXS users have been converted to device tree and the board files have been removed. No need to keep platform data in the driver. Also move bus_width declaration in the beggining of mxs_mmc_probe() to avoid: 'warning: ISO C90 forbids mixed declarations and code'. Signe

RE: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2012-10-31 Thread Philip, Avinash
On Wed, Oct 31, 2012 at 16:05:13, Cousson, Benoit wrote: > > On 10/31/2012 11:16 AM, Benoit Cousson wrote: > > Hi Avinash, > > > > On 10/30/2012 10:41 AM, Philip, Avinash wrote: > >> On Mon, Oct 29, 2012 at 14:40:02, Philip, Avinash wrote: > >>> On Thu, Oct 18, 2012 at 18:56:55, Porter, Matt wrot

Re: [RESEND PATCH V2] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-10-31 Thread Gururaja Hebbar
On 10/31/2012 3:34 PM, Felipe Balbi wrote: Hi, On Wed, Oct 31, 2012 at 01:58:35PM +0530, Hebbar, Gururaja wrote: HSMMC IP on AM33xx need a special setting to handle High-speed cards. Other platforms like TI81xx, OMAP4 may need this as-well. This depends on the HSMMC IP timing closure done for t

[PATCH] mmc: s3cmci: use tasklet_kill in device remove/release process

2012-10-31 Thread Xiaotian Feng
Some driver uses tasklet_disable in device remove/release process, tasklet_disable will inc tasklet->count and return. If the tasklet is not handled yet under some softirq pressure, the tasklet will be placed on the tasklet_vec, never have a chance to be excuted. This might lead to a heavy loaded k

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2012-10-31 Thread Benoit Cousson
On 10/31/2012 11:16 AM, Benoit Cousson wrote: > Hi Avinash, > > On 10/30/2012 10:41 AM, Philip, Avinash wrote: >> On Mon, Oct 29, 2012 at 14:40:02, Philip, Avinash wrote: >>> On Thu, Oct 18, 2012 at 18:56:55, Porter, Matt wrote: Adds AM33XX SPI support for am335x-bone and am335x-evm. >> >> M

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2012-10-31 Thread Benoit Cousson
Hi Avinash, On 10/30/2012 10:41 AM, Philip, Avinash wrote: > On Mon, Oct 29, 2012 at 14:40:02, Philip, Avinash wrote: >> On Thu, Oct 18, 2012 at 18:56:55, Porter, Matt wrote: >>> Adds AM33XX SPI support for am335x-bone and am335x-evm. > > Matt, > > Can you build SPI DT patch with DMA support on

Re: [PATCH V2 0/3] mmc: remove MMC_CAP_NEEDS_POLL setting in sdhci_add_host

2012-10-31 Thread yongd
On 2012年10月31日 07:11, Anton Vorontsov wrote: On Tue, Oct 30, 2012 at 05:30:00PM +0800, yongd wrote: Sorry for my so late. And eventually these updated patches are here for your review. Thanks in advance. For patch 1, add SDHCI_QUIRK_BROKEN_CARD_DETECTION setting for ESDHC_CD_GPIO type, or the h

Re: [RESEND PATCH V2] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-10-31 Thread Felipe Balbi
Hi, On Wed, Oct 31, 2012 at 01:58:35PM +0530, Hebbar, Gururaja wrote: > HSMMC IP on AM33xx need a special setting to handle High-speed cards. > Other platforms like TI81xx, OMAP4 may need this as-well. This depends > on the HSMMC IP timing closure done for the high speed cards. > > From AM335x TR

Re: [PATCH V2 0/3] mmc: remove MMC_CAP_NEEDS_POLL setting in sdhci_add_host

2012-10-31 Thread yongd
On 2012年10月31日 07:11, Anton Vorontsov wrote: On Tue, Oct 30, 2012 at 05:30:00PM +0800, yongd wrote: Sorry for my so late. And eventually these updated patches are here for your review. Thanks in advance. For patch 1, add SDHCI_QUIRK_BROKEN_CARD_DETECTION setting for ESDHC_CD_GPIO type, or the h

[RESEND PATCH V2] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-10-31 Thread Hebbar, Gururaja
HSMMC IP on AM33xx need a special setting to handle High-speed cards. Other platforms like TI81xx, OMAP4 may need this as-well. This depends on the HSMMC IP timing closure done for the high speed cards. >From AM335x TRM (SPRUH73F - 18.3.12 Output Signals Generation) The MMC/SD/SDIO output signals