equal
deleted
inserted
replaced
575 goto out_release; |
575 goto out_release; |
576 } |
576 } |
577 |
577 |
578 up(&master->device_sem); |
578 up(&master->device_sem); |
579 |
579 |
580 if (!master->main_device.link_state) { |
|
581 EC_ERR("Link is DOWN.\n"); |
|
582 goto out_module_put; |
|
583 } |
|
584 |
|
585 if (ec_master_enter_operation_mode(master)) { |
580 if (ec_master_enter_operation_mode(master)) { |
586 EC_ERR("Failed to enter OPERATION mode!\n"); |
581 EC_ERR("Failed to enter OPERATION mode!\n"); |
587 goto out_module_put; |
582 goto out_module_put; |
588 } |
583 } |
589 |
584 |