Re: [PATCH] of: platform: stop accessing invalid dev in of_platform_device_destroy

From: Srinivas Kandagatla
Date: Fri Jun 01 2018 - 19:35:47 EST




On 01/06/18 23:58, Srinivas Kandagatla wrote:
- of_node_clear_flag(dev->of_node, OF_POPULATED);
- of_node_clear_flag(dev->of_node, OF_POPULATED_BUS);
This change seems to have a side effect during re-probing. I will dig in bit more to see how best it can be fixed.

thanks,
srini