diff options
author | Venkateshwarlu Domakonda <vdomak@codeaurora.org> | 2014-09-25 12:05:59 +0530 |
---|---|---|
committer | Venkateshwarlu Domakonda <vdomak@codeaurora.org> | 2014-09-25 14:33:05 +0530 |
commit | 006ba4cfb353bbd6b6a776a198ae39d733eee1bd (patch) | |
tree | 8972d563fb9b82bc0b8d2869c02a1e28036dafe9 /qcom | |
parent | 79645859903a2141d2e137171f2c2e585291ab78 (diff) | |
download | android_hardware_qcom_fm-006ba4cfb353bbd6b6a776a198ae39d733eee1bd.tar.gz android_hardware_qcom_fm-006ba4cfb353bbd6b6a776a198ae39d733eee1bd.tar.bz2 android_hardware_qcom_fm-006ba4cfb353bbd6b6a776a198ae39d733eee1bd.zip |
FM: Fix the issue with spur rotation value
Forming byte buffer with wrong rotation value.
Fix the issue with rotation value calculation.
Change-Id: I3159c1132b0b1028f881516b4b3ea4f85a30aa9b
CRs-Fixed: 729986
Diffstat (limited to 'qcom')
-rw-r--r-- | qcom/fmradio/FmConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qcom/fmradio/FmConfig.java b/qcom/fmradio/FmConfig.java index 728d1d3..7b076fe 100644 --- a/qcom/fmradio/FmConfig.java +++ b/qcom/fmradio/FmConfig.java @@ -124,7 +124,7 @@ public class FmConfig { buff[(j * 4) + 7 + (i * each_Spur_entry_size)] = (short)((rotation_value >> 8) & 0xff); buff[(j * 4) + 8 + (i * each_Spur_entry_size)] = - (short)((rotation_value >> 12) & 0xff); + (short)((rotation_value >> 16) & 0x0f); buff[(j * 4) + 8 + (i * each_Spur_entry_size)] |= (short)(spurDetails.get(j).getLsbOfIntegrationLength() << 4); buff[(j * 4) + 8 + (i * each_Spur_entry_size)] |= |