summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-09-26 18:44:18 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2014-09-26 18:44:18 -0700
commit32d2952d701e3bff313132c096c108a69713f463 (patch)
tree8972d563fb9b82bc0b8d2869c02a1e28036dafe9
parent79645859903a2141d2e137171f2c2e585291ab78 (diff)
parent006ba4cfb353bbd6b6a776a198ae39d733eee1bd (diff)
downloadandroid_hardware_qcom_fm-32d2952d701e3bff313132c096c108a69713f463.tar.gz
android_hardware_qcom_fm-32d2952d701e3bff313132c096c108a69713f463.tar.bz2
android_hardware_qcom_fm-32d2952d701e3bff313132c096c108a69713f463.zip
Merge "FM: Fix the issue with spur rotation value"
-rw-r--r--qcom/fmradio/FmConfig.java2
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)] |=