]> sigrok.org Git - libsigrok.git/commit
sysclk-lwla: Fix a regression with (at least) the LWLA1034.
authorUwe Hermann <redacted>
Sun, 24 Dec 2017 14:42:27 +0000 (15:42 +0100)
committerUwe Hermann <redacted>
Mon, 25 Dec 2017 11:48:58 +0000 (12:48 +0100)
commit42d14d9108de61ead41aebe74d668239ee7d5089
treeaf973401b04b918c553260456ad0637ac11d68f8
parent6c1a4cb44ccd24b2b23477c86273a8e405758c03
sysclk-lwla: Fix a regression with (at least) the LWLA1034.

This regression was introduced in f1ba6b4b2c9a8ecf90bb31efb218752aa7e49d1a.

Due to how the sysclk-lwla driver does up to 3 open/close operations in
one dev_open() API callback we cannot rely on the sr_dev_open() and
sr_dev_close() wrappers setting the sdi->status variable in this case.

Tested on LWLA1034.
src/hardware/sysclk-lwla/api.c