equal
deleted
inserted
replaced
1225 |
1225 |
1226 ec_fsm_master_restart(fsm); |
1226 ec_fsm_master_restart(fsm); |
1227 } |
1227 } |
1228 |
1228 |
1229 /*****************************************************************************/ |
1229 /*****************************************************************************/ |
|
1230 |
|
1231 /** called by kref_put if the request's refcount becomes zero. |
|
1232 * |
|
1233 */ |
|
1234 void ec_master_sdo_request_release(struct kref *ref) |
|
1235 { |
|
1236 ec_master_sdo_request_t *request = container_of(ref, ec_master_sdo_request_t, refcount); |
|
1237 EC_SLAVE_DBG(request->slave, 1, "Releasing request %p.\n",request); |
|
1238 ec_sdo_request_clear(&request->req); |
|
1239 kfree(request); |
|
1240 } |