* Maintain a "shutting_down" flag per-xbus * Use it to prevent xbus dereferencing (via xbus_get()/xbus_put()) during an xbus shutdown. * Also, remove xbus from global array earlier. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
* Maintain a "shutting_down" flag per-xbus * Use it to prevent xbus dereferencing (via xbus_get()/xbus_put()) during an xbus shutdown. * Also, remove xbus from global array earlier. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>