[PATCH] mmc: atmel-mci: remove useless include

2015-08-10 Thread Alexandre Belloni
Definitions from linux/platform_data/atmel.h are not used, remove the include. Signed-off-by: Alexandre Belloni --- drivers/mmc/host/atmel-mci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 9a39e0b7e583..bf62e429f7fc 100644

[PATCH] mmc: core: stop trying to switch width when only one bit is supported

2014-12-17 Thread Alexandre Belloni
off-by: Alexandre Belloni Cc: # 3.17 --- drivers/mmc/core/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index 02ad79229f65..7466ce098e60 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -886,7 +88

Re: [PATCHv2 1/3] mmc: atmel-mci: move mache header to platform_data

2014-10-27 Thread Alexandre Belloni
Hi, On 27/10/2014 at 16:23:23 +0100, Ulf Hansson wrote : > On 27 October 2014 15:46, Ulf Hansson wrote: > > On 17 October 2014 10:26, Alexandre Belloni > > wrote: > >> Move the mach header that can come either from arm/mach-at91 or avr32 to > >> platform_d

[PATCHv2 1/3] mmc: atmel-mci: move mache header to platform_data

2014-10-17 Thread Alexandre Belloni
Move the mach header that can come either from arm/mach-at91 or avr32 to platform_data to be able to switch the AT91 platforms to multiplatform. Signed-off-by: Alexandre Belloni --- drivers/mmc/host/atmel-mci.c| 2 +- include/linux/platform_data/mmc-atmel-mci.h | 22

[PATCHv2 2/3] ARM: at91: remove mach/atmel-mci.h

2014-10-17 Thread Alexandre Belloni
Use the generic platform_data header file instead of mach/atmel-mci.h Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9g45_devices.c| 2 +- arch/arm/mach-at91/include/mach/atmel-mci.h | 17 - 2 files changed, 1 insertion(+), 18 deletions(-) delete mode

[PATCHv2 3/3] avr32: remove mach/atmel-mci.h

2014-10-17 Thread Alexandre Belloni
Use the generic platform_data header file instead of mach/atmel-mci.h Signed-off-by: Alexandre Belloni --- arch/avr32/mach-at32ap/at32ap700x.c | 2 +- arch/avr32/mach-at32ap/include/mach/atmel-mci.h | 17 - 2 files changed, 1 insertion(+), 18 deletions(-) delete

[PATCHv2 0/3] Remove mach/atmel-mci.h

2014-10-17 Thread Alexandre Belloni
header itself from avR32 and ARM/at91. Changes in v2: - include back linux/atmel-mci.h and really remove mach/atmel-mci.h in at91sam9g45_devices.c Alexandre Belloni (3): mmc: atmel-mci: move mache header to platform_data ARM: at91: remove mach/atmel-mci.h avr32: remove mach/atmel-mci.h arch

Re: [PATCH 2/3] ARM: at91: remove mach/atmel-mci.h

2014-10-17 Thread Alexandre Belloni
On 17/10/2014 at 09:52:45 +0200, Alexandre Belloni wrote : > Use the generic platform_data header file instead of mach/atmel-mci.h > > Signed-off-by: Alexandre Belloni > --- > arch/arm/mach-at91/at91sam9g45_devices.c| 2 +- > arch/arm/mach-at91/include/mac

[PATCH 1/3] mmc: atmel-mci: move mache header to platform_data

2014-10-17 Thread Alexandre Belloni
Move the mach header that can come either from arm/mach-at91 or avr32 to platform_data to be able to switch the AT91 platforms to multiplatform. Signed-off-by: Alexandre Belloni --- drivers/mmc/host/atmel-mci.c| 2 +- include/linux/platform_data/mmc-atmel-mci.h | 22

[PATCH 2/3] ARM: at91: remove mach/atmel-mci.h

2014-10-17 Thread Alexandre Belloni
Use the generic platform_data header file instead of mach/atmel-mci.h Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9g45_devices.c| 2 +- arch/arm/mach-at91/include/mach/atmel-mci.h | 17 - 2 files changed, 1 insertion(+), 18 deletions(-) delete mode

[PATCH 3/3] avr32: remove mach/atmel-mci.h

2014-10-17 Thread Alexandre Belloni
Use the generic platform_data header file instead of mach/atmel-mci.h Signed-off-by: Alexandre Belloni --- arch/avr32/mach-at32ap/at32ap700x.c | 2 +- arch/avr32/mach-at32ap/include/mach/atmel-mci.h | 17 - 2 files changed, 1 insertion(+), 18 deletions(-) delete

[PATCH 0/3] Remove mach/atmel-mci.h

2014-10-17 Thread Alexandre Belloni
header itself from avR32 and ARM/at91. Alexandre Belloni (3): mmc: atmel-mci: move mache header to platform_data ARM: at91: remove mach/atmel-mci.h avr32: remove mach/atmel-mci.h arch/arm/mach-at91/at91sam9g45_devices.c| 2 +- arch/arm/mach-at91/include/mach/atmel-mci.h | 17

[PATCH] mmc: atmel: don't test host->data

2014-05-06 Thread Alexandre Belloni
Found using smatch: drivers/mmc/host/atmel-mci.c:827 atmci_pdc_complete() warn: variable dereferenced before check 'host->data' (see line 807) Stop testing host->data as it is not NULL at that point. Signed-off-by: Alexandre Belloni --- drivers/mmc/host/atmel-mci.c | 13 +++--

Re: How to support SDIO wifi/bt in DT

2014-01-19 Thread Alexandre Belloni
what I remember, it would be really good to put the DT parsing for the slots in the core code but I only had a really quick look at that. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line &q

Re: How to support SDIO wifi/bt in DT

2014-01-17 Thread Alexandre Belloni
On Fri, Jan 17, 2014 at 06:06:41PM +0800, Chen-Yu Tsai wrote : > On Fri, Jan 17, 2014 at 5:39 PM, Alexandre Belloni > wrote: > > Maybe it is not completely related but I think it needs to be thought > > about while you are it: > > > > The TI wilink chips (TiWi, wl1

Re: How to support SDIO wifi/bt in DT

2014-01-17 Thread Alexandre Belloni
question would be what if I just want to enable one or the other (and take that decision at runtime) ? Where do I put the pinctrl/clocks/regulators in the DT ? I guess it can become an issue to enable both WiFi and BT at the same time if both SDIO and UART are trying to handle the same pinc

Re: How to support SDIO wifi/bt in DT

2014-01-17 Thread Alexandre Belloni
bly be better to think about that now. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

Re: [PATCHv3] mmc: atmel-mci: add vmmc-supply support

2014-01-13 Thread Alexandre Belloni
Hi, I still don't see that on mmc.git, Any issue with that patch ? I would prefer not missing the 3.14 merge window. Regards On 18/12/2013 09:16, Ludovic Desroches wrote: > Hi Alexandre, > > On Tue, Dec 17, 2013 at 08:03:12PM +0100, Alexandre Belloni wrote: >> Hi, >&

Re: [PATCHv3] mmc: atmel-mci: add vmmc-supply support

2013-12-17 Thread Alexandre Belloni
Hi, It seems that patch never made it to the mainline. Is it still missing something ? Regards, On 17/10/2013 15:56, Ulf Hansson wrote: > On 17 October 2013 12:46, Alexandre Belloni > wrote: >> Other MMC hosts handle a regulator named vmmc-supply that allows to power the >>

[PATCHv3] mmc: atmel-mci: add vmmc-supply support

2013-10-17 Thread Alexandre Belloni
Other MMC hosts handle a regulator named vmmc-supply that allows to power the MMC card or SDIO device before communicating on the bus. Signed-off-by: Alexandre Belloni --- Changes in v2: - use mmc_regulator_get_supply instead of devm_regulator_get Changes in v3: - en/disable the regulator in

Re: [PATCHv2] mmc: atmel-mci: add vmmc-supply support

2013-10-17 Thread Alexandre Belloni
On 17/10/2013 10:34, Ulf Hansson wrote: > On 17 October 2013 00:19, Alexandre Belloni > wrote: >> Other MMC hosts handle a regulator named vmmc-supply that allows to power the >> MMC card or SDIO device before communicating on the bus. >> >> Signed-off-by: Alexandre

[PATCHv2] mmc: atmel-mci: add vmmc-supply support

2013-10-16 Thread Alexandre Belloni
Other MMC hosts handle a regulator named vmmc-supply that allows to power the MMC card or SDIO device before communicating on the bus. Signed-off-by: Alexandre Belloni --- Changes in v2: - use mmc_regulator_get_supply instead of devm_regulator_get drivers/mmc/host/atmel-mci.c | 9

[PATCH] mmc: atmel-mci: add vmmc-supply support

2013-10-16 Thread Alexandre Belloni
Other MMC hosts handle a regulator named vmmc-supply that allows to power the MMC card or SDIO device before communicating on the bus. Signed-off-by: Alexandre Belloni --- drivers/mmc/host/atmel-mci.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/mmc/host/atmel-mci.c