Add missing return value assignement when changing unipro power mode to
PWM-G1.
Signed-off-by: Jacopo Mondi <jacopo.mondi@linaro.org>
Reviewed-by: Gjorgji Rosikopulos <grosikopulos@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
goto done;
}
- gb_svc_intf_set_power_mode(svc, svc->ap_intf_id,
+ ret = gb_svc_intf_set_power_mode(svc, svc->ap_intf_id,
GB_SVC_UNIPRO_HS_SERIES_A,
GB_SVC_UNIPRO_SLOW_AUTO_MODE,
1, 2,
gcam_err(gcam, "can't take AP link to PWM-G1 auto: %d\n",
ret);
-
done:
kfree(req);
kfree(resp);