Re: mmc: slot-gpio

2014-05-12 Thread Alexander Shiyan
Mon, 12 May 2014 13:27:18 +0200 от Ulf Hansson ulf.hans...@linaro.org: On 12 May 2014 11:42, Linus Walleij linus.wall...@linaro.org wrote: On Sat, May 3, 2014 at 8:54 PM, Alexander Shiyan shc_w...@mail.ru wrote: Is this patch (http://www.spinics.net/lists/linux-mmc/msg25410.html) looks

[PATCH] mmc: mxcmmc: Use mmc_regulator_get_supply() API

2014-05-03 Thread Alexander Shiyan
This patch replaces regulator manipulation with mmc_regulator_get_supply() function from MMC core. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mmc/host/mxcmmc.c | 44 +--- 1 file changed, 17 insertions(+), 27 deletions(-) diff --git

mmc: slot-gpio

2014-05-03 Thread Alexander Shiyan
Hello All. Is this patch (http://www.spinics.net/lists/linux-mmc/msg25410.html) looks like a rip off my idea: http://permalink.gmane.org/gmane.linux.kernel.mmc/25506 I have no complaints but it is very strange that the same idea came immediately after me. Thanks. ---

Re: SD CRC error on mx27pdk

2014-04-23 Thread Alexander Shiyan
Wed, 23 Apr 2014 12:21:39 -0300 от Fabio Estevam feste...@gmail.com: On Wed, Apr 23, 2014 at 12:10 PM, Fabio Estevam feste...@gmail.com wrote: ,but I get this error: mxc-mmc 10013000.sdhci: mxcmci_finish_data: -EILSEQ mmc0: error -84 whilst initialising SD card mmc0: host does not

Re: [PATCH] mmc: mmci: switch the driver to using gpio descriptors

2014-04-15 Thread Alexander Shiyan
Tue, 15 Apr 2014 10:33:06 +0200 от Linus Walleij linus.wall...@linaro.org: The next step in modernization of GPIO is to let drivers handle descriptors rather than integer numbers representing GPIO pins, akin to how clocks or regulators are already handled today. This patch makes the MMCI

Re: [PATCH RESEND 1/2] mmc: mxcmmc: Convert to devm-* API

2014-03-24 Thread Alexander Shiyan
Mon, 24 Mar 2014 10:29:45 +0100 от Ulf Hansson ulf.hans...@linaro.org: On 22 March 2014 09:52, Alexander Shiyan shc_w...@mail.ru wrote: Replace existing resource handling in the driver with managed device resource, this ensures more consistent error values and simplifies error paths

[PATCH RESEND 2/2] mmc: mxcmmc: Convert to SIMPLE_DEV_PM_OPS

2014-03-22 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mmc/host/mxcmmc.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 84d630e..86401c0 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc

[PATCH RESEND 1/2] mmc: mxcmmc: Convert to devm-* API

2014-03-22 Thread Alexander Shiyan
Replace existing resource handling in the driver with managed device resource, this ensures more consistent error values and simplifies error paths. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mmc/host/mxcmmc.c | 101 +- 1 file changed

[PATCH RFC] mmc: slot-gpio: Convert to gpiod_* API

2014-02-23 Thread Alexander Shiyan
This is a RFC patch only, please do not apply it. This introduce a conversion slot-gpio to gpiod-* API. Usage of gpiod-* API allows us to remove all pieces of storage GPIOs in the driver's platform_data in the future. Patch saves calls to existing functions that allows us to convert all drivers

Re: [PATCH RFC] mmc: slot-gpio: Convert to gpiod_* API

2014-02-23 Thread Alexander Shiyan
Воскресенье, 23 февраля 2014, 23:10 +01:00 от Guennadi Liakhovetski g.liakhovet...@gmx.de: Hi Alexander, Sorry, this isn't going to be a complete review, just a couple of comments. On Sun, 23 Feb 2014, Alexander Shiyan wrote: This is a RFC patch only, please do not apply

[PATCH 1/2] mmc: mxcmmc: Convert to devm-* API

2014-02-22 Thread Alexander Shiyan
Replace existing resource handling in the driver with managed device resource, this ensures more consistent error values and simplifies error paths. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mmc/host/mxcmmc.c | 101 +- 1 file changed

[PATCH 2/2] mmc: mxcmmc: Convert to SIMPLE_DEV_PM_OPS

2014-02-22 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mmc/host/mxcmmc.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 84d630e..86401c0 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc

Re: [PATCH 2/2] mmc: mxcmmc: Convert to SIMPLE_DEV_PM_OPS

2014-02-22 Thread Alexander Shiyan
Суббота, 22 февраля 2014, 11:51 -03:00 от Fabio Estevam feste...@gmail.com: On Sat, Feb 22, 2014 at 11:46 AM, Alexander Shiyan shc_w...@mail.ru wrote: Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mmc/host/mxcmmc.c | 13 +++-- 1 file changed, 3 insertions(+), 10

Re: [PATCH 2/2] mmc: mxcmmc: Convert to SIMPLE_DEV_PM_OPS

2014-02-22 Thread Alexander Shiyan
Суббота, 22 февраля 2014, 11:59 -03:00 от Fabio Estevam feste...@gmail.com: On Sat, Feb 22, 2014 at 11:57 AM, Alexander Shiyan shc_w...@mail.ru wrote: Суббота, 22 февраля 2014, 11:51 -03:00 от Fabio Estevam feste...@gmail.com: On Sat, Feb 22, 2014 at 11:46 AM, Alexander Shiyan shc_w

Re: [PATCH 1/2] mmc: mxcmmc: Convert to devm-* API

2014-02-22 Thread Alexander Shiyan
Суббота, 22 февраля 2014, 16:37 +01:00 от Arnd Bergmann a...@arndb.de: On Saturday 22 February 2014 18:46:11 Alexander Shiyan wrote: Replace existing resource handling in the driver with managed device resource, this ensures more consistent error values and simplifies error paths

[PATCH RESEND] mmc: core: trivial: Typo fix

2014-02-15 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mmc/core/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 49bc403..114f6bd 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -337,7

[PATCH] mmc: core: Typo fix

2013-11-14 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mmc/core/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 49bc403..114f6bd 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -337,7

Re[2]: [PATCH] mmc: mxcmmc: Fix bug when card is present during boot

2013-04-13 Thread Alexander Shiyan
Hi, On Tue, Apr 09 2013, Sascha Hauer wrote: On Sat, Apr 06, 2013 at 10:13:31AM +0400, Alexander Shiyan wrote: This patch fixes bug when card is present during boot. Bug was introduced due commit mmc: mxcmmc: fix bug that may block a data transfer forever. When a card is present

[PATCH] mmc: mxcmmc: Fix bug when card is present during boot

2013-04-06 Thread Alexander Shiyan
+0xa4/0xb0) [c0037094] (kthread+0xa4/0xb0) from [c000e210] (ret_from_fork+0x14/0x24) Code: e0065015 eab3 e3a0a001 eaea (e7f001f2) ---[ end trace 29f2f8ea54d9d99e ]--- Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mmc/host/mxcmmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2