]> sigrok.org Git - libsigrok.git/commit
sysclk-lwla: Limit use of SR_ERR_ARG to user-supplied arguments.
authorDaniel Elstner <redacted>
Sat, 25 Jan 2014 22:27:40 +0000 (23:27 +0100)
committerDaniel Elstner <redacted>
Tue, 28 Jan 2014 22:26:16 +0000 (23:26 +0100)
commit5413df19528c96c6fba3ee4cc61ec3dfe01047cb
tree5322e889b026740292a453a84d1770446c4544fe
parent1c873c114cdf67b2cffa78293611d8f8f275bab8
sysclk-lwla: Limit use of SR_ERR_ARG to user-supplied arguments.

The return code SR_ERR_ARG is intended for reporting unsupported
or inapplicable device configuration settings and is not a hard
error.  In order to indicate failure of internal sanity checks,
use SR_ERR_BUG instead.
hardware/sysclk-lwla/lwla.c