ti: k3: drivers: ti_sci: Cleanup sequence ID usage
The sequence ID can be set with a message to identify it when it is
responded to in the response queue. We assign each message a number and
check for this same number to detect response mismatches.

Start this at 0 and increase it by one for each message sent, even ones
that do not request or wait for a response as one may still be delivered
in some cases and we want to detect this.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Change-Id: I72b4d1ef98bf1c1409d9db9db074af8dfbcd83ea
1 parent fb98ca5 commit 7a469035e96b1e6d9d31d502ed326d53c698a137
@Andrew F. Davis Andrew F. Davis authored on 10 Apr 2019
Showing 1 changed file
View
plat/ti/k3/common/drivers/ti_sci/ti_sci.c