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:
Julien Delacou 2013-07-11 14:24:10 +02:00 committed by Greg Kroah-Hartman
parent 25a494457c
commit b39ed5c7b4

View file

@ -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);