[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <X/ob7cm/NOt5qnZ4@lunn.ch>
Date: Sat, 9 Jan 2021 22:11:09 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Ioana Ciornei <ciorneiioana@...il.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
laurentiu.tudor@....com, Ioana Ciornei <ioana.ciornei@....com>
Subject: Re: [PATCH net-next v2 3/6] bus: fsl-mc: return -EPROBE_DEFER when a
device is not yet discovered
On Fri, Jan 08, 2021 at 11:07:24AM +0200, Ioana Ciornei wrote:
> From: Ioana Ciornei <ioana.ciornei@....com>
>
> The fsl_mc_get_endpoint() should return a pointer to the connected
> fsl_mc device, if there is one. By interrogating the MC firmware, we
> know if there is an endpoint or not so when the endpoint device is
> actually searched on the fsl-mc bus and not found we are hitting the
> case in which the device has not been yet discovered by the bus.
>
> Return -EPROBE_DEFER so that callers can differentiate this case.
>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@....com>
> Acked-by: Laurentiu Tudor <laurentiu.tudor@....com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists