pd: increase delay after receiving good CRC to avoid starting new packet

Increase the delay after receiving a good CRC in send_validate_message()
to avoid catching the last edge as the start of a new packet.

BUG=none
BRANCH=none
TEST=Tested with zinger and samus using the python script to flash
zinger RW, and simply negotiating power and receiving pings.

Change-Id: Iffdd73e02e5d292396d46a611d728f66402f2da4
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/203206
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
Alec Berg
2014-06-10 11:16:01 -07:00
committed by chrome-internal-fetch
parent c388281b06
commit 93bbf29aad

View File

@@ -314,7 +314,7 @@ static int send_validate_message(void *ctxt, uint16_t header, uint8_t cnt,
/* got the GoodCRC we were expecting */
inc_id();
/* do not catch last edges as a new packet */
udelay(10);
udelay(20);
return bit_len;
} else {
/* CPRINTF("ERR ACK/%d %04x\n", id, head); */