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