Commit b39ed5c7 authored by Julien Delacou's avatar Julien Delacou Committed by Greg Kroah-Hartman

staging: dwc2: fix value used in dwc2_set_all_params

This fix uses 'value' parameter as it should be instead
of hardcoded -1.
Signed-off-by: default avatarJulien Delacou <julien.delacou@stericsson.com>
Acked-by: default avatarPaul Zimmerman <paulz@synopys.com>
Reviewed-by: default avatarMatthijs Kooijman <matthijs@stdin.nl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 25a49445
......@@ -2719,7 +2719,7 @@ void dwc2_set_all_params(struct dwc2_core_params *params, int value)
int i;
for (i = 0; i < size; i++)
p[i] = -1;
p[i] = value;
}
EXPORT_SYMBOL_GPL(dwc2_set_all_params);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment