diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-12-31 19:56:26 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-07 16:56:20 +1100 |
commit | cfbf99801bcaf8398492ebc16af72259ad7aa146 (patch) | |
tree | 894246ad083181307bfde948e0ab41b2cc75b3da /include/dt-bindings/power | |
parent | fe73b582f179354e233e5deddbd274efe8d3bbb9 (diff) | |
download | op-kernel-dev-cfbf99801bcaf8398492ebc16af72259ad7aa146.zip op-kernel-dev-cfbf99801bcaf8398492ebc16af72259ad7aa146.tar.gz |
via-cuda: Fix re-initialization of reply_ptr and reading_reply
When reading_reply is set, reply_ptr points into an adb_request struct.
Conversely, when reply_ptr instead points into the global cuda_rbuf,
reading_reply must be false.
Unfortunately, this rule can be violated because re-initialization
of reply_ptr and reading_reply presently depends on the TREQ input.
Fix this by re-initializing reply_ptr and reading_reply as soon as they
are known to be invalid.
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'include/dt-bindings/power')
0 files changed, 0 insertions, 0 deletions