[PATCH] at91sam9260/9g20ek: use -EINVAL for invalid gpio on atmel_mci
Sascha Hauer
s.hauer at pengutronix.de
Tue Feb 19 02:32:30 EST 2013
Hi Fabio,
On Mon, Feb 18, 2013 at 10:58:08AM +0100, Fabio Porcedda wrote:
> Signed-off-by: Fabio Porcedda <fabio.porcedda at gmail.com>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at 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 |
More information about the barebox
mailing list