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: Julien Delacou <julien.delacou@stericsson.com> Acked-by: Paul Zimmerman <paulz@synopys.com> Reviewed-by: Matthijs Kooijman <matthijs@stdin.nl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
25a494457c
commit
b39ed5c7b4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue