Re: [PATCH] mxcmmc: Internal error: Oops: 17 [#1] ARM from sg->offset

2014-02-03 Thread Chris Ruehl
On Wednesday, January 22, 2014 06:11 PM, Russell King - ARM Linux wrote: On Wed, Jan 22, 2014 at 12:32:39PM +0800, Chris Ruehl wrote: diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index f7199c8..8645d6a 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c @

Re: [PATCH] ARM: shmobile: bockw: use wp-gpios instead of WP pin

2014-02-03 Thread Kuninori Morimoto
Hi Simon > > Latest Renesas Chip has some SDHI channels and the WP pin > > availability depends on its channel or HW implementation. > > Thus, this patch decides new policy whch indicates > > WP is disabled as default. > > But, we can use wp-gpios property to enable it as > > other method. > > >

Re: [PATCH 2/3] mmc: sh-mmcif: add DMA SG synchronisation

2014-02-03 Thread Simon Horman
On Fri, Jan 31, 2014 at 12:54:29PM +0100, Guennadi Liakhovetski wrote: > According to the DMA API data has to be synchronised before starting > a DMA transfer to device and after completing a DMA transfer from device. > > Signed-off-by: Guennadi Liakhovetski Acked-by: Simon Horman > --- > dri

Re: [PATCH 1/3] mmc: tmio-mmc: add DMA SG synchronisation

2014-02-03 Thread Simon Horman
On Fri, Jan 31, 2014 at 12:54:19PM +0100, Guennadi Liakhovetski wrote: > According to the DMA API data has to be synchronised before starting > a DMA transfer to device and after completing a DMA transfer from device. > > Signed-off-by: Guennadi Liakhovetski Acked-by: Simon Horman > --- > dri

Re: [PATCH v2] mmc-utils: add eMMC 5.0 FFU support

2014-02-03 Thread Grant Grundler
On Sun, Feb 2, 2014 at 9:52 AM, Chris Ball wrote: > Hi Grant, > > Still waiting on the remaining warning/error, Sorry - was out thurs/fri. I'm wondering why I didn't see that warning before. > and also noticed a trivial typo: Typo fixed (locally). I got good feedback from one of the HW vendors

[PATCH v3 3/8] mmc: dw_mmc: replace the bus_hz checking point

2014-02-03 Thread Jaehoon Chung
It's right that check immediately whether host->bus_hz is assigned or not. Signed-off-by: Jaehoon Chung --- Changelog V3: - Maintained original place for the drv_data->setup_clock Changelog V2: - When drv_data->setup_clock is present, set to bus_hz with it. drivers/mmc/host/dw_m

[PATCH v3 7/8] mmc: dw_mmc: remove the dw_mci_of_cd_gpio()

2014-02-03 Thread Jaehoon Chung
If mmc_of_parse() is used, dw_mci_of_get_cd_gpio didn't need. Already implemented into mmc_of_parse(). Signed-off-by: Jaehoon Chung --- Changelog V3: -None drivers/mmc/host/dw_mmc.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.

[PATCH v3 0/8] mmc: dw_mmc: minor code cleanup

2014-02-03 Thread Jaehoon Chung
This patch-set is minor code cleanup. Change-log V3: - Maintained original code for non-removable checking. - Add patch (mmc: dw_mmc: fix the checking whether card is present or not) Change-log V2: - Add the new patch(mmc: core use the broken-cd for non-removable card

[PATCH v3 4/8] mmc: dw_mmc: remove unused member variable.

2014-02-03 Thread Jaehoon Chung
Since using the device-tree, didn't use the callback pointer. So removed the unused callback pointer. Signed-off-by: Jaehoon Chung --- Changelog V3: - None Changelog V2: - None drivers/mmc/host/dw_mmc.c | 33 +++-- include/linux/mmc/dw_mmc.h | 1

[PATCH v3 6/8] mmc: dw_mmc: remove the unnecessary function.

2014-02-03 Thread Jaehoon Chung
Remove unnecessary function. This function didn't re-use anywhere. Signed-off-by: Jaehoon Chung --- Changelog V3: - None Changelog V2: - None drivers/mmc/host/dw_mmc.c |8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drive

[PATCH v3 2/8] mmc: dw_mmc: use the mmc_of_parse() instead of local parser

2014-02-03 Thread Jaehoon Chung
mmc_of_parse() have been already parsed the general capability. Didn't need to use the local parser. Signed-off-by: Jaehoon Chung --- Changelog V3: - Remove the caps2-mmc-hs-1_8v/1_2v into synopsys-dw-mshc.txt Changelog V2: - None .../devicetree/bindings/mmc/synopsys-dw-mshc.txt

[PATCH v3 1/8] mmc: core: add the property for hs200

2014-02-03 Thread Jaehoon Chung
mmc-hs200-1.8v and mmc-hs200-1.2v can be used to the general capability. Signed-off-by: Jaehoon Chung --- Changelog V3: - Use the "len" instead of "NULL" Changelog V2: - Rename the mmc-hs200-1_8v/1_2v instead of "_caps2_" - Add the properties into Documentation/devicetree/

[PATCH v3 8/8] mmc: dw_mmc: fix the checking whether card is present

2014-02-03 Thread Jaehoon Chung
Broken card detection is assumed "the card is present". Non-removable card didn't call get_cd(). dw-mmc controller didn't check whether card is present or not. Because DW_MMC_CARD_PRESENT flag is set into dw_mci_get_cd(). If cd-pin is used, then dw_mci_get_cd() is called. Signed-off-by: Jaehoon Ch

[PATCH v3 5/8] mmc: dw_mmc: fix minor coding style.

2014-02-03 Thread Jaehoon Chung
Fixed the coding style. Signed-off-by: Jaehoon Chung --- Changelog V3: - None Changelog V2: - None drivers/mmc/host/dw_mmc.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 551dade..a349cbf 1