diff options
author | Venkateshwarlu Domakonda <vdomak@codeaurora.org> | 2015-07-24 12:58:48 +0530 |
---|---|---|
committer | Venkateshwarlu Domakonda <vdomak@codeaurora.org> | 2015-07-27 18:40:03 +0530 |
commit | c09c3d85445d84ff612a4d1cbed49f5168ff3889 (patch) | |
tree | 335b2e4b6cfa88470867bb2a8228191fd74ab2ec /jni | |
parent | a3bf762e2f9d95ba3e4dc97462f95a43074f7535 (diff) | |
download | android_hardware_qcom_fm-c09c3d85445d84ff612a4d1cbed49f5168ff3889.tar.gz android_hardware_qcom_fm-c09c3d85445d84ff612a4d1cbed49f5168ff3889.tar.bz2 android_hardware_qcom_fm-c09c3d85445d84ff612a4d1cbed49f5168ff3889.zip |
FM: Fix the issue with patchdownloader
- Avoid patchdownloader for Silabs based targets.
- Make changes to treat only negative return values as errors.
- Change the calibration data path.
Change-Id: I611d5f6d64734e2a3a41456bb18b1e612862e0ed
Diffstat (limited to 'jni')
-rw-r--r-- | jni/FmConst.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jni/FmConst.h b/jni/FmConst.h index c4cd33b..00e6f82 100644 --- a/jni/FmConst.h +++ b/jni/FmConst.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, The Linux Foundation. All rights reserved. + * Copyright (c) 2014, 2015, The Linux Foundation. All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ const UINT CAL_DATA_SIZE = 23; #define STD_BUF_SIZE 256 const char *const FM_PERFORMANCE_PARAMS = "/etc/fm/fm_srch_af_th.conf"; -const char *const CALIB_DATA_NAME = "/data/app/Riva_fm_cal"; +const char *const CALIB_DATA_NAME = "/data/misc/fm/Riva_fm_cal"; #define V4L2_CTRL_CLASS_USER 0x00980000 #define V4L2_CID_BASE (V4L2_CTRL_CLASS_USER | 0x900) |