equal
deleted
inserted
replaced
265 if (!datagram->working_counter) { |
265 if (!datagram->working_counter) { |
266 unsigned long diff_ms = |
266 unsigned long diff_ms = |
267 (jiffies - voe->jiffies_start) * 1000 / HZ; |
267 (jiffies - voe->jiffies_start) * 1000 / HZ; |
268 if (diff_ms < EC_VOE_RESPONSE_TIMEOUT) { |
268 if (diff_ms < EC_VOE_RESPONSE_TIMEOUT) { |
269 EC_SLAVE_DBG(slave, 1, "Slave did not respond to" |
269 EC_SLAVE_DBG(slave, 1, "Slave did not respond to" |
270 " VoE write request. Retrying after %u ms...\n", |
270 " VoE write request. Retrying after %lu ms...\n", |
271 (u32) diff_ms); |
271 diff_ms); |
272 // no response; send request datagram again |
272 // no response; send request datagram again |
273 return; |
273 return; |
274 } |
274 } |
275 } |
275 } |
276 voe->state = ec_voe_handler_state_error; |
276 voe->state = ec_voe_handler_state_error; |