Re: [PATCH] mmc: dw_mmc: avoid write to CDTHRCTL on older versions

2014-11-19 Thread Ulf Hansson
On 17 November 2014 18:49, James Hogan james.ho...@imgtec.com wrote: Commit f1d2736c8156 (mmc: dw_mmc: control card read threshold) added dw_mci_ctrl_rd_thld() with an unconditional write to the CDTHRCTL register at offset 0x100. However before version 240a, the FIFO region started at 0x100,

[PATCH] mmc: dw_mmc: avoid write to CDTHRCTL on older versions

2014-11-17 Thread James Hogan
Commit f1d2736c8156 (mmc: dw_mmc: control card read threshold) added dw_mci_ctrl_rd_thld() with an unconditional write to the CDTHRCTL register at offset 0x100. However before version 240a, the FIFO region started at 0x100, so the write messes with the FIFO and completely breaks the driver. If

Re: [PATCH] mmc: dw_mmc: avoid write to CDTHRCTL on older versions

2014-11-17 Thread Jaehoon Chung
Hi, James. Thanks for pointing out. Acked-by: Jaehoon Chung jh80.ch...@samsung.com Best Regards, Jaehoon Chung On 11/18/2014 02:49 AM, James Hogan wrote: Commit f1d2736c8156 (mmc: dw_mmc: control card read threshold) added dw_mci_ctrl_rd_thld() with an unconditional write to the CDTHRCTL