On Fri, Jan 08, 2021 at 11:07:24AM +0200, Ioana Ciornei wrote:
> From: Ioana Ciornei <ioana.cior...@nxp.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.cior...@nxp.com>
> Acked-by: Laurentiu Tudor <laurentiu.tu...@nxp.com>

Reviewed-by: Andrew Lunn <and...@lunn.ch>

    Andrew

Reply via email to