Re: [PATCH 1/2] mmc: dw_mmc: poll if CD is broken

2014-05-01 Thread Jaehoon Chung
Hi, Sebastian. Your patch didn't base on latest mmc-next repository. You can refer to below git. http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc.git/ I think you made the patch on v3.12. Best Regards, Jaehoon Chung On 05/01/2014 12:17 AM, Sebastian Andrzej Siewior wrote: > On 04/30/2014 04

Re: [PATCH 1/2] mmc: dw_mmc: poll if CD is broken

2014-04-30 Thread Sebastian Andrzej Siewior
On 04/30/2014 04:57 PM, Jae hoon Chung wrote: > Hi, Sebastian. Hi Jaehoon, > I didn't know which Soc you used. Altera socfpa. > Do you use the Device-tree? if you use the device-tree, just add the > "broken-cd" property. and with this property the code will rescan the card every few secs? I di

[PATCH 1/2] mmc: dw_mmc: poll if CD is broken

2014-04-30 Thread Sebastian Andrzej Siewior
My CD pin is not available at all (DW_MCI_QUIRK_BROKEN_CARD_DETECTION is set). The result was in v3.12 that if MMC card was inserted at load time, then the MMC card was detected. If it wasn't, it wasn't detected since nobody polled for it and I no irq was wired up. I haven't noticed any change in t