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
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 @@
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)] |=