commit | 15fba9144f9be87b016eff2c3517fbf120490602 | [log] [tgz] |
---|---|---|
author | Surajit Podder <spodder@codeaurora.org> | Wed Jun 28 17:46:51 2017 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Aug 30 10:32:54 2017 -0700 |
tree | 925c571b8e3b7aeff054b0d9a47b16afff77bc40 | |
parent | 1d9aee752ee2f421c325d87466ec65a8efe5da05 [diff] [blame] |
msm: vidc: Map HAL work mode to HFI work mode values Map HAL work mode enums to HFI work mode value while setting work mode to firmware. Change-Id: Idd3373463105f2aa6f726a3817840cca213c754f Signed-off-by: Surajit Podder <spodder@codeaurora.org>
diff --git a/drivers/media/platform/msm/vidc/vidc_hfi_api.h b/drivers/media/platform/msm/vidc/vidc_hfi_api.h index ff43e3d..5cc63c3 100644 --- a/drivers/media/platform/msm/vidc/vidc_hfi_api.h +++ b/drivers/media/platform/msm/vidc/vidc_hfi_api.h
@@ -866,8 +866,8 @@ }; enum hal_work_mode { - VIDC_WORK_MODE_1, - VIDC_WORK_MODE_2, + VIDC_WORK_MODE_1 = 1, + VIDC_WORK_MODE_2 = 2, VIDC_WORK_MODE_UNUSED = 0x10000000, };