From e2385f88ee3865048a14522b4e31cf0be842446d Mon Sep 17 00:00:00 2001 From: Manikanta Kanamarlapudi Date: Mon, 29 Dec 2014 13:34:27 +0530 Subject: [PATCH] common: Set system property to differentiate 8916 and 8939 hw Set system property to differentiate 8916 and 8939 hw based on soc-id to select appropriate media_codecs.xml Change-Id: I043e00c9c580994b511f8fcec4a0890da90645a6 CRs-Fixed: 770327 --- init/init_msm8916.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init/init_msm8916.c b/init/init_msm8916.c index 730ef0fa..84fc34a4 100644 --- a/init/init_msm8916.c +++ b/init/init_msm8916.c @@ -71,8 +71,11 @@ void init_msm_properties(unsigned long msm_id, unsigned long msm_ver, char *boar } else property_set(PROP_LCDDENSITY, "320"); + if (msm_id >= 239 && msm_id <= 243) { + property_set("media.msm8939hw", "1"); + } + if (msm_id == 206) { - property_set("media.swhevccodectype", "1"); property_set("vidc.enc.narrow.searchrange", "0"); } }