Subject: Re: Device Tree Binding for Marvell DSA on P1023RDB

From: Pannirselvam Kanagaratnam <[email-masked]>
Date: Tue, 17 Jun 2014 14:41:00 +0800

On 17/06/2014 12:38 AM, Florian Fainelli wrote:
> 2014-06-16 9:30 GMT-07:00 Pannirselvam Kanagaratnam <[email-masked]>:
> Distributed Switch Architecture driver version 0.1
> dsa: probe of dsa.16 failed with error -22
> This error might not come from dsa_of_probe(), please instrument the
> code where -EINVAL is returned to see exactly which part of the
> probing code is failing.

The error is coming from:

dev = dev_to_net_device(pd->netdev);
if (dev == NULL) {
		ret = -EINVAL;
		goto out;
	}

Is my device tree ok?