return FALSE;
}
-#define AGC_CONFIG_WBRSSI_DISABLE 0x10D1
-#define AGC_CONFIG_WBRSSI_ENABLE 0x105F
+#define AGC_CONFIG_WBRSSI_DISABLE 0x20D1
+#define AGC_CONFIG_WBRSSI_ENABLE 0x201F
void enable_agc_config_wbrssi(struct s610_radio *radio, bool onoff)
{
__func__, ctrl->val, ret);
break;
case V4L2_CID_S610_REG_RW:
- fmspeedy_set_reg(radio->speedy_reg_addr, (u32)ctrl->val);
+ if ((radio->speedy_reg_addr >= 0xFFF210)
+ && (radio->speedy_reg_addr <= 0xFFF3DF))
+ fmspeedy_set_reg(radio->speedy_reg_addr, (u32)ctrl->val);
+ else
+ dev_err(radio->v4l2dev.dev,
+ "%s(), V4L2_CID_S610_REG_RW, skip addr:0x%xh\n",
+ __func__, radio->speedy_reg_addr);
+
FDEBUG(radio, "%s(), REG_RW val:0x%xh, ret : %d\n",
__func__, ctrl->val, ret);
break;
/*#undef ENABLE_IF_WORK_QUEUE*/
#define USE_FM_LNA_ENABLE
-/*#undef USE_FM_LNA_ENABLE*/
+#undef USE_FM_LNA_ENABLE
#define RDS_POLLING_ENABLE