summaryrefslogtreecommitdiff
path: root/drivers/media/radio/CG2900/cg2900_fm_driver.c
AgeCommit message (Collapse)Author
2012-05-22G2900 FM Radio: Disable RDS Group rejectioncg2900-fmAnupam Roy
This implementation disables RDS group rejection in FM IP. ST-Ericsson Linux next: NA ST-Ericsson ID: 400212 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ia313c10b06cb64f2b66497d8bccf9fc707292e2d Signed-off-by: Anupam Roy <anupam.roy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50030 Reviewed-by: QATOOLS Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com>
2012-05-22CG2900 FM Radio: Implement FMR_RP_Stereo_SetControl_BlendingRSSIAnupam Roy
This implementation controls the stereo-threshold level by adjusting the min and max RSSI levels. The threshold for switching is optimized(lowered), which was by default a bit too high. ST-Ericsson Linux next: NA ST-Ericsson ID: 410120 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I35e4202de8066dff80f371285eb298caa23b9656 Signed-off-by: Anupam Roy <anupam.roy@stericsson.com> Change-Id: Ibcec6ec65aef6f324810504415b530564ac942b2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49998 Reviewed-by: Anurag GUPTA-1 <anurag.gupta@stericsson.com> Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com>
2012-05-22cg2900: fm_driver: Fix warningJonas Aaberg
ST-Ericsson Linux next: - ST-Ericsson ID: 370799 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I306a10d02257f8d7e750956efd3d1371dc92412b Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47967 Reviewed-by: QABUILD Reviewed-by: Pradeep-mmc KUMAR <pradeep-mmc.kumar@stericsson.com>
2012-05-22CG2900 FM Radio: Fix improper handling of response bufferAnupam Roy
This patch fixes data corruption issue of FM response buffer by proper implementation of data array. It also properly handles channel to frequency conversion during frequency get operation which was yeliding wrong result due to data corruption. ST-Ericsson Linux next: NA ST-Ericsson ID: 403708 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I85f555a8aa1cd34e5efb0bc397bdcc63b8417bc7 Signed-off-by: Anupam Roy <anupam.roy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46413 Reviewed-by: QATEST Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2012-05-22CG2900 FM Radio: Improper RDS Thread handling.anupam roy
This patch fixes the thread leak issue from CG2900 FM kernel driver by proper handling of RDS threads. ST-Ericsson Linux next: NA ST-Ericsson ID: 365795 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I277dae0e74f4115db2b0f734dd7f6361678b9502 Signed-off-by: anupam roy <anupam.roy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34400 Reviewed-by: QATOOLS Reviewed-by: Anurag SRIVASTAVA <anurag.srivastava@stericsson.com> Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com>
2012-05-22CG2900 FM Radio: Block Scan not working for non EU bands.Hemant Gupta
This patch fixes the issue of improper results while performing block scan on non EU bands. ST-Ericsson Linux next: NA ST-Ericsson ID: 363911 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I15d3ab6816e8f291f5b2ac87acd5a54f66d348ca Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32408 Tested-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Anupam ROY <anupam.roy@stericsson.com> Reviewed-by: Anurag SRIVASTAVA <anurag.srivastava@stericsson.com> Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com>
2012-05-22CG2900 FM Radio: Adapt to kernel 3.0Hemant Gupta
This patch adapts the FM driver to kernel 3.0 ST-Ericsson Linux next: NA ST-Ericsson ID: 352334 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I93b6a1f8251709cfe36eeaa41fc5cdfc4350a5e5 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30532 Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com> Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2012-05-22CG2900 FM Radio: BandScan IOCTL Calls Hangs.Hemant Gupta
This patch fixes the issue of Bandscan not returning, resulting in failure of test case. This patch also fixes spin_unlock issue in corner case. ST-Ericsson Linux next: NA ST-Ericsson ID: 352330 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I48b15be434cf9488626bcd184be087bbe56c9663 Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30557 Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2012-05-22CG2900 FM Radio: CG2900 stops responding in FM Tx.Anurag Srivastava
This patch fixes issue of CG2900 chip not responding when the Overmodulation Interrupt frequency is high(one interrupt per 10 msec). The problem is fixed by changing the Overmodulation Interrupt frequency to one interrupt per 100 msec. ST-Ericsson Linux next: NA ST-Ericsson ID: 358197 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Idfd21f8604788800bc117da9e161cea2c6c8a374 Signed-off-by: Anurag Srivastava <anurag.srivastava@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30552 Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com> Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2012-05-22CG2900 FM Radio: Handling Mono-Stereo Interrupt.Hemant Gupta
The linux FM driver for CG2900 now supports mono-stereo transition interrupt from the CG2900. It indicates stereo to mono transition or vice versa. Support for RDS Interrupt, Scan Completion Interrupt, CG2900 Reset Interrupt, etc is also added in this patch. ST-Ericsson ID: 324264 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I280a2a00a6f58e105d11f3a9f14ea662719c485e Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30511 Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2012-05-22CG2900 FM Radio: RDS decoding time is too long.Hemant Gupta
This patch fixes the problem of long time taken to send RDS Data to user space application when RDS is enabled first time. ST-Ericsson ID: 338036 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: If29ea6c9dcab730ad794067a26b76fb8a1927137 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24896 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com> Reviewed-by: Said BAGHERI <said.m.bagheri@stericsson.com> Tested-by: Said BAGHERI <said.m.bagheri@stericsson.com>
2012-05-22CG2900 FM radio: Add support for Tone Gen and De-emphasis.Philippe Langlais
FM radio driver now supports enabling, disabling, setting parameters for internal Tone Generator and configuring De-emphasis filter. ST-Ericsson ID: 281539 ST-Ericsson ID: 317074 Change-Id: I5b4aacee58e7955a2aea52aeda3a99663bad3082 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11412 Reviewed-by: Pradeep-mmc KUMAR <pradeep-mmc.kumar@stericsson.com> Tested-by: Pradeep-mmc KUMAR <pradeep-mmc.kumar@stericsson.com> Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Andreas GUSTAFSSON <andreas.a.gustafsson@stericsson.com> Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com> Reviewed-by: QATEST Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/24895 Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com> Tested-by: Said BAGHERI <said.m.bagheri@stericsson.com> Reviewed-by: Said BAGHERI <said.m.bagheri@stericsson.com> Conflicts: include/linux/videodev2.h