aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorfarah kassabri <[email protected]>2021-09-12 14:30:35 +0300
committerOded Gabbay <[email protected]>2021-09-14 15:00:04 +0300
commit42254c2a4991b98ca3f86040a1a7b7b32a0c8c4a (patch)
tree1daffe4f49956c2dc62249d98fc95f1bf59f7461 /drivers/fpga/fpga-bridge.c
parent3d3200ae167ba048a29e0c815987a3fdc90fc8d2 (diff)
habanalabs: fix wait offset handling
Add handling for case where the user doesn't set wait offset, and keeps it as 0. In such a case the driver will decrement one from this zero value which will cause the code to wait for wrong number of signals. The solution is to treat this case as in legacy wait cs, and wait for the next signal. Signed-off-by: farah kassabri <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions