diff options
-rw-r--r-- | src/backends/isa-l/isa_l_rs_vand.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backends/isa-l/isa_l_rs_vand.c b/src/backends/isa-l/isa_l_rs_vand.c index d701a2f..98a9226 100644 --- a/src/backends/isa-l/isa_l_rs_vand.c +++ b/src/backends/isa-l/isa_l_rs_vand.c @@ -480,7 +480,9 @@ static void * isa_l_rs_vand_init(struct ec_backend_args *args, desc->k = args->uargs.k; desc->m = args->uargs.m; - desc->w = ISA_L_W; + if (args->uargs.w <= 0) + args->uargs.w = ISA_L_W; + desc->w = args->uargs.w; /* validate EC arguments */ { |