aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tdmb/mtv318/raontv_tdmb.c
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.com>2012-09-22 09:48:20 +0200
committercodeworkx <codeworkx@cyanogenmod.com>2012-09-22 14:02:16 +0200
commit2489007e7d740ccbc3e0a202914e243ad5178787 (patch)
treeb8e6380ea7b1da63474ad68a5dba997e01146043 /drivers/media/tdmb/mtv318/raontv_tdmb.c
parent5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff)
downloadkernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'drivers/media/tdmb/mtv318/raontv_tdmb.c')
-rw-r--r--drivers/media/tdmb/mtv318/raontv_tdmb.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/tdmb/mtv318/raontv_tdmb.c b/drivers/media/tdmb/mtv318/raontv_tdmb.c
index d488359..4b20f7e 100644
--- a/drivers/media/tdmb/mtv318/raontv_tdmb.c
+++ b/drivers/media/tdmb/mtv318/raontv_tdmb.c
@@ -321,6 +321,8 @@ static void tdmb_InitOFDM(void)
RTV_REG_SET(0x16, 0x6C);
+ RTV_REG_SET(0x1a, 0xb4);
+
RTV_REG_SET(0x38, 0x01);
RTV_REG_SET(0x20, 0x5B);
@@ -1201,6 +1203,11 @@ INT rtvTDMB_OpenSubChannel(
RTV_GUARD_LOCK;
/* Max sub channel is 1. So, we close the previous sub ch. */
tdmb_CloseSubChannel(0);
+#if defined(RTV_IF_SPI) || defined(RTV_IF_EBI2)
+ RTV_REG_MAP_SEL(OFDM_PAGE);
+ RTV_REG_SET(0x10, 0x48);
+ RTV_REG_SET(0x10, 0xC9);
+#endif
tdmb_OpenSubChannel(nSubChID, eServiceType, nThresholdSize);
RTV_GUARD_FREE;
#else