Skip to content

Commit

Permalink
iio: logic: m2k: la & adc add trigger disable option
Browse files Browse the repository at this point in the history
HDL support trigger out disabling. This commit add support in SW too.

Signed-off-by: Bogdan Togorean <bogdan.togorean@analog.com>
  • Loading branch information
btogorean authored and commodo committed Jul 23, 2020
1 parent 643ea3c commit 8b67bd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/iio/logic/m2k-logic-analyzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ static const char * const m2k_la_trigger_mux_out_items[] = {
"trigger-in",
"trigger-logic-and-trigger-in",
"trigger-logic-or-trigger-in",
"trigger-logic-xor-trigger-in"
"trigger-logic-xor-trigger-in",
"disabled"
};

static const struct iio_enum m2k_la_trigger_mux_out_enum = {
Expand Down
1 change: 1 addition & 0 deletions drivers/iio/logic/m2k-trigger-ad.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ static const char * const axi_adc_trig_trigger_out_mix_mode_items[] = {
"a_OR_trigger_in",
"b_OR_trigger_in",
"a_OR_b_OR_trigger_in",
"disabled"
};

static const struct iio_enum axi_adc_trig_trigger_out_mix_mode_enum = {
Expand Down

0 comments on commit 8b67bd6

Please sign in to comment.