video: driver: update fw load-unload functions
Update the fw load and fw unload functions to make them non-static to allow calls from other files. Change-Id: I387a884a1274354e78defdf00245bd0108dd61fc Signed-off-by: Rohit Kulkarni <rkulkarn@codeaurora.org>
Dieser Commit ist enthalten in:

committet von
Chinmay Sawarkar

Ursprung
0b04217dd2
Commit
2155605082
@@ -71,5 +71,7 @@ int __setup_ucregion_memmap(struct msm_vidc_core *core);
|
||||
int __raise_interrupt(struct msm_vidc_core *core);
|
||||
int __power_off(struct msm_vidc_core *core);
|
||||
bool __core_in_valid_state(struct msm_vidc_core *core);
|
||||
int __load_fw(struct msm_vidc_core *core);
|
||||
void __unload_fw(struct msm_vidc_core *core);
|
||||
|
||||
#endif // _VENUS_HFI_H_
|
||||
|
@@ -2407,7 +2407,7 @@ exit:
|
||||
return rc;
|
||||
}
|
||||
|
||||
static int __load_fw(struct msm_vidc_core *core)
|
||||
int __load_fw(struct msm_vidc_core *core)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
@@ -2462,7 +2462,7 @@ fail_init_res:
|
||||
return rc;
|
||||
}
|
||||
|
||||
static void __unload_fw(struct msm_vidc_core *core)
|
||||
void __unload_fw(struct msm_vidc_core *core)
|
||||
{
|
||||
if (!core->dt->fw_cookie)
|
||||
return;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren