]> sigrok.org Git - libsigrok.git/commit
zeroplus: Fix config_list() wrt drvopts/devopts.
authorYasushi SHOJI <redacted>
Fri, 3 Jun 2016 20:39:29 +0000 (05:39 +0900)
committerUwe Hermann <redacted>
Sat, 11 Jun 2016 15:09:34 +0000 (17:09 +0200)
commit716d6dfcac07d8a07ca0a0b93fdd4063df06258c
tree3087f2b48c374d96396f22113f84ccbdb337fc42
parent3ba944cf41212c81d28cad04dea43c5423860893
zeroplus: Fix config_list() wrt drvopts/devopts.

When config_list() gets NULL as sdi, it must return driver opts.
Some drivers, including zeroplus, don't check sdi and return both
driver opts and device opts.
src/hardware/zeroplus-logic-cube/api.c