[RAMEN9610-12322][COMMON] media: radio: Fix CE FCC FM Test fail (EN303345)
authorYunsu Kim <iamyunsu.kim@samsung.com>
Tue, 19 Feb 2019 10:26:04 +0000 (19:26 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:18 +0000 (20:23 +0300)
Change-Id: I87a88557fe1afa23bb43a02debb2e21f325d357f
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
drivers/media/radio/s610/fm_low.c

index 33854ef76c7c16cdabbe4cf2367facd10bf7ceae..06c2554b4e01cc1912ba410e2a1851fa48e933e8 100755 (executable)
@@ -107,7 +107,7 @@ void fm_initialize(struct s610_radio *radio)
        APIEBUG(radio, "%s(): 0xFFF2C2:0x%x %d %d", __func__,
                fmspeedy_get_reg(0xFFF2C2), radio->low->fm_config.rssi_adj_ini, radio->rssi_adjust);
 
-       fmspeedy_set_reg(0xFFF299, 0xFF64);
+       fmspeedy_set_reg(0xFFF299, 0xFF0F);
 
 #ifdef USE_IQ_IMBAL_SMOOTH
        fmspeedy_set_reg(0xFFF2B6, 0x081C);
@@ -251,7 +251,7 @@ static bool is_freq_in_spur(int freq, u32 *freq_array, int max_freq) {
 }
 
 #define AGC_CONFIG_WBRSSI_DISABLE      0x9D1
-#define AGC_CONFIG_WBRSSI_ENABLE       0x95F
+#define AGC_CONFIG_WBRSSI_ENABLE       0x91F
 
 void enable_agc_config_wbrssi(struct s610_radio *radio, bool onoff)
 {
@@ -1250,7 +1250,7 @@ void fm_rx_ana_start(void)
        adc_config1 = 0x01EF7A53;
 
        /* RF setting */
-       fmspeedy_set_reg(0xFFF263, 0xFC1CDFFF);
+       fmspeedy_set_reg(0xFFF263, 0xFC08DFFF);
        /* fmspeedy_set_reg(0xFFF265, 0x80988002); */
        fmspeedy_set_reg(0xFFF265, 0x81788002);
        fmspeedy_set_reg(0xFFF264, 0x040003FD);