All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: 3ds_debugboard: Fix smsc911x driver probe
@ 2012-03-26 18:53 Fabio Estevam
  2012-03-27  8:56 ` Sascha Hauer
  2012-04-02  9:15 ` Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2012-03-26 18:53 UTC (permalink / raw)
  To: linux-arm-kernel

Fix smsc911x id field in order to fix smsc911x driver probe error:

smsc911x smsc911x.0: Failed to get supply 'vdd33a': -517
smsc911x smsc911x.0: (unregistered net_device): couldn't get regulators -517
platform smsc911x.0: Driver smsc911x requests probe deferral

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/plat-mxc/3ds_debugboard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/plat-mxc/3ds_debugboard.c b/arch/arm/plat-mxc/3ds_debugboard.c
index d1e31fa..5cac2c5 100644
--- a/arch/arm/plat-mxc/3ds_debugboard.c
+++ b/arch/arm/plat-mxc/3ds_debugboard.c
@@ -80,7 +80,7 @@ static struct smsc911x_platform_config smsc911x_config = {
 
 static struct platform_device smsc_lan9217_device = {
 	.name = "smsc911x",
-	.id = 0,
+	.id = -1,
 	.dev = {
 		.platform_data = &smsc911x_config,
 	},
-- 
1.7.1

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

* [PATCH] ARM: 3ds_debugboard: Fix smsc911x driver probe
  2012-03-26 18:53 [PATCH] ARM: 3ds_debugboard: Fix smsc911x driver probe Fabio Estevam
@ 2012-03-27  8:56 ` Sascha Hauer
  2012-04-02  9:15 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-03-27  8:56 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Mar 26, 2012 at 03:53:57PM -0300, Fabio Estevam wrote:
> Fix smsc911x id field in order to fix smsc911x driver probe error:
> 
> smsc911x smsc911x.0: Failed to get supply 'vdd33a': -517
> smsc911x smsc911x.0: (unregistered net_device): couldn't get regulators -517
> platform smsc911x.0: Driver smsc911x requests probe deferral

Looks good. I couldn't test it on the 3ds board. Could you collect your
patches until the beginning of next week? I'm on holidays right now and
will be back next week.

Sascha

> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/plat-mxc/3ds_debugboard.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/plat-mxc/3ds_debugboard.c b/arch/arm/plat-mxc/3ds_debugboard.c
> index d1e31fa..5cac2c5 100644
> --- a/arch/arm/plat-mxc/3ds_debugboard.c
> +++ b/arch/arm/plat-mxc/3ds_debugboard.c
> @@ -80,7 +80,7 @@ static struct smsc911x_platform_config smsc911x_config = {
>  
>  static struct platform_device smsc_lan9217_device = {
>  	.name = "smsc911x",
> -	.id = 0,
> +	.id = -1,
>  	.dev = {
>  		.platform_data = &smsc911x_config,
>  	},
> -- 
> 1.7.1
> 
> 
> 

-- 
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 |

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

* [PATCH] ARM: 3ds_debugboard: Fix smsc911x driver probe
  2012-03-26 18:53 [PATCH] ARM: 3ds_debugboard: Fix smsc911x driver probe Fabio Estevam
  2012-03-27  8:56 ` Sascha Hauer
@ 2012-04-02  9:15 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-04-02  9:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Mar 26, 2012 at 03:53:57PM -0300, Fabio Estevam wrote:
> Fix smsc911x id field in order to fix smsc911x driver probe error:
> 
> smsc911x smsc911x.0: Failed to get supply 'vdd33a': -517
> smsc911x smsc911x.0: (unregistered net_device): couldn't get regulators -517
> platform smsc911x.0: Driver smsc911x requests probe deferral
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks

Sascha

> ---
>  arch/arm/plat-mxc/3ds_debugboard.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/plat-mxc/3ds_debugboard.c b/arch/arm/plat-mxc/3ds_debugboard.c
> index d1e31fa..5cac2c5 100644
> --- a/arch/arm/plat-mxc/3ds_debugboard.c
> +++ b/arch/arm/plat-mxc/3ds_debugboard.c
> @@ -80,7 +80,7 @@ static struct smsc911x_platform_config smsc911x_config = {
>  
>  static struct platform_device smsc_lan9217_device = {
>  	.name = "smsc911x",
> -	.id = 0,
> +	.id = -1,
>  	.dev = {
>  		.platform_data = &smsc911x_config,
>  	},
> -- 
> 1.7.1
> 
> 
> 

-- 
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 |

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

end of thread, other threads:[~2012-04-02  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26 18:53 [PATCH] ARM: 3ds_debugboard: Fix smsc911x driver probe Fabio Estevam
2012-03-27  8:56 ` Sascha Hauer
2012-04-02  9:15 ` Sascha Hauer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.