mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci
@ 2013-02-18  9:58 Fabio Porcedda
  2013-02-19  7:32 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Porcedda @ 2013-02-18  9:58 UTC (permalink / raw)
  To: barebox

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/boards/at91sam9260ek/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
index 77ca6bb..dc2976a 100644
--- a/arch/arm/boards/at91sam9260ek/init.c
+++ b/arch/arm/boards/at91sam9260ek/init.c
@@ -156,6 +156,8 @@ static void at91sam9260ek_phy_reset(void)
 static struct atmel_mci_platform_data __initdata ek_mci_data = {
 	.bus_width	= 4,
 	.slot_b		= 1,
+	.detect_pin	= -EINVAL,
+	.wp_pin		= -EINVAL,
 };
 
 static void ek_usb_add_device_mci(void)
-- 
1.8.1.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci
  2013-02-18  9:58 [PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci Fabio Porcedda
@ 2013-02-19  7:32 ` Sascha Hauer
  2013-02-19 10:03   ` Fabio Porcedda
  0 siblings, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2013-02-19  7:32 UTC (permalink / raw)
  To: Fabio Porcedda; +Cc: barebox

Hi Fabio,

On Mon, Feb 18, 2013 at 10:58:08AM +0100, Fabio Porcedda wrote:
> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
>  arch/arm/boards/at91sam9260ek/init.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
> index 77ca6bb..dc2976a 100644
> --- a/arch/arm/boards/at91sam9260ek/init.c
> +++ b/arch/arm/boards/at91sam9260ek/init.c
> @@ -156,6 +156,8 @@ static void at91sam9260ek_phy_reset(void)
>  static struct atmel_mci_platform_data __initdata ek_mci_data = {
>  	.bus_width	= 4,
>  	.slot_b		= 1,
> +	.detect_pin	= -EINVAL,
> +	.wp_pin		= -EINVAL,
>  };

Is this for master or for -next?

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci
  2013-02-19  7:32 ` Sascha Hauer
@ 2013-02-19 10:03   ` Fabio Porcedda
  2013-02-19 10:30     ` Fabio Porcedda
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Porcedda @ 2013-02-19 10:03 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On Tue, Feb 19, 2013 at 8:32 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> Hi Fabio,
>
> On Mon, Feb 18, 2013 at 10:58:08AM +0100, Fabio Porcedda wrote:
>> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
>> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>> ---
>>  arch/arm/boards/at91sam9260ek/init.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
>> index 77ca6bb..dc2976a 100644
>> --- a/arch/arm/boards/at91sam9260ek/init.c
>> +++ b/arch/arm/boards/at91sam9260ek/init.c
>> @@ -156,6 +156,8 @@ static void at91sam9260ek_phy_reset(void)
>>  static struct atmel_mci_platform_data __initdata ek_mci_data = {
>>       .bus_width      = 4,
>>       .slot_b         = 1,
>> +     .detect_pin     = -EINVAL,
>> +     .wp_pin         = -EINVAL,
>>  };
>
> Is this for master or for -next?

I think is for master because is a fix.

Best regards
--
Fabio Porcedda

> Sascha
>
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci
  2013-02-19 10:03   ` Fabio Porcedda
@ 2013-02-19 10:30     ` Fabio Porcedda
  0 siblings, 0 replies; 4+ messages in thread
From: Fabio Porcedda @ 2013-02-19 10:30 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On Tue, Feb 19, 2013 at 11:03 AM, Fabio Porcedda
<fabio.porcedda@gmail.com> wrote:
> On Tue, Feb 19, 2013 at 8:32 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
>> Hi Fabio,
>>
>> On Mon, Feb 18, 2013 at 10:58:08AM +0100, Fabio Porcedda wrote:
>>> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
>>> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>>> ---
>>>  arch/arm/boards/at91sam9260ek/init.c | 2 ++
>>>  1 file changed, 2 insertions(+)
>>>
>>> diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
>>> index 77ca6bb..dc2976a 100644
>>> --- a/arch/arm/boards/at91sam9260ek/init.c
>>> +++ b/arch/arm/boards/at91sam9260ek/init.c
>>> @@ -156,6 +156,8 @@ static void at91sam9260ek_phy_reset(void)
>>>  static struct atmel_mci_platform_data __initdata ek_mci_data = {
>>>       .bus_width      = 4,
>>>       .slot_b         = 1,
>>> +     .detect_pin     = -EINVAL,
>>> +     .wp_pin         = -EINVAL,
>>>  };
>>
>> Is this for master or for -next?
>
> I think is for master because is a fix.


I'll send a v2 with all the other boards.

> Best regards
> --
> Fabio Porcedda
>
>> Sascha
>>
>>
>> --
>> Pengutronix e.K.                           |                             |
>> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
>> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



--
Fabio Porcedda

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-19 10:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18  9:58 [PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci Fabio Porcedda
2013-02-19  7:32 ` Sascha Hauer
2013-02-19 10:03   ` Fabio Porcedda
2013-02-19 10:30     ` Fabio Porcedda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox