[PATCH] component: fix loop condition to call unbind() if bind() fails

2018-08-27 Thread bgoswami
From: Banajit Goswami During component_bind_all(), if bind() fails for any particular component associated with a master, unbind() should be called for all previous components in that master's match array, whose bind() might have completed successfully. As per the current logic, if bind() fails

[PATCH] component: fix loop condition to call unbind() if bind() fails

2018-08-27 Thread bgoswami
From: Banajit Goswami During component_bind_all(), if bind() fails for any particular component associated with a master, unbind() should be called for all previous components in that master's match array, whose bind() might have completed successfully. As per the current logic, if bind() fails