hbm.c (d512c2098b1af6069e47ca457d7034d7cc82d420) | hbm.c (5ebdc364588a5b988fdaf56e2ec01815f1876e9a) |
---|---|
1/* 2 * 3 * Intel Management Engine Interface (Intel MEI) Linux driver 4 * Copyright (c) 2003-2012, Intel Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 792 unchanged lines hidden (view full) --- 801 802 if (dev->dev_state != MEI_DEV_INIT_CLIENTS || 803 dev->hbm_state != MEI_HBM_STARTING) { 804 dev_err(dev->dev, "hbm: start: state mismatch, [%d, %d]\n", 805 dev->dev_state, dev->hbm_state); 806 return -EPROTO; 807 } 808 | 1/* 2 * 3 * Intel Management Engine Interface (Intel MEI) Linux driver 4 * Copyright (c) 2003-2012, Intel Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 792 unchanged lines hidden (view full) --- 801 802 if (dev->dev_state != MEI_DEV_INIT_CLIENTS || 803 dev->hbm_state != MEI_HBM_STARTING) { 804 dev_err(dev->dev, "hbm: start: state mismatch, [%d, %d]\n", 805 dev->dev_state, dev->hbm_state); 806 return -EPROTO; 807 } 808 |
809 dev->hbm_state = MEI_HBM_STARTED; 810 | |
811 if (mei_hbm_enum_clients_req(dev)) { 812 dev_err(dev->dev, "hbm: start: failed to send enumeration request\n"); 813 return -EIO; 814 } 815 816 wake_up(&dev->wait_hbm_start); 817 break; 818 --- 135 unchanged lines hidden --- | 809 if (mei_hbm_enum_clients_req(dev)) { 810 dev_err(dev->dev, "hbm: start: failed to send enumeration request\n"); 811 return -EIO; 812 } 813 814 wake_up(&dev->wait_hbm_start); 815 break; 816 --- 135 unchanged lines hidden --- |