mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
greybus: camera: Add missing return value
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>
This commit is contained in:
parent
f121d79d8a
commit
db81b76970
1 changed files with 1 additions and 2 deletions
|
|
@ -296,7 +296,7 @@ set_unipro_slow_mode:
|
|||
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,
|
||||
|
|
@ -307,7 +307,6 @@ set_unipro_slow_mode:
|
|||
gcam_err(gcam, "can't take AP link to PWM-G1 auto: %d\n",
|
||||
ret);
|
||||
|
||||
|
||||
done:
|
||||
kfree(req);
|
||||
kfree(resp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue