SPI Write retry optimization

max delay & write retry count updated based on cause of
write failure(RF_ON or Generic IO error)

Test: Transceive 32K data over SPI while CE transaction is ongoing
Bug: 69876039
Change-Id: Iac62dd93e70d26e7dcac49cdd1d94de09176643f
(cherry picked from commit 86260a6e0f080764e620c6ce51fc9d2fe03f995a)
1 file changed