On 9/17/2020 6:07 PM, Vladimir Oltean wrote:
From: Vladimir Oltean <vladimir.olt...@nxp.com> ocelot_init() allocates memory, resets the switch and polls for a status register, things which can fail. Stop probing the driver in that case, and propagate the error result. Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com> Reviewed-by: Horatiu Vultur <horatiu.vul...@microchip.com>
Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian