android_kernel_xiaomi_sdm845/drivers/media
Andy Walls 9eef550a9a V4L/DVB (13089): cx25840: Separate set_audclk_freq functionality for the different chips
Separate out the set_audclk_freq() function into separate functions for the
four families of cores.  These cores all use slightly different sample clock
schemes and may be assuming slightly (+/- 3 Hz) different reference frequencies.
The code resuse was not worth the maintenance and testing headache of have all
chips use the same function peppered with conditional logic.

Added comments on how PLL and SRC parameters values are computed.  Fixed a few
bugs related to the shared code having a large number of conditional statements.
Noted inconsistencies with FIXME in the comments.

This is done in preparation for getting the CX2388[578] PLL/clock setting logic
cleaned up for CX23888 analog video and IR (which need the VID PLL set right).

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-05 18:40:18 -02:00
..
common V4L/DVB (13076): xc5000: make the definition of the FM input part of the xc5000 config struct 2009-12-05 18:40:13 -02:00
dvb V4L/DVB (13058): af9015: enable remote polling when eeprom contains 0x04 2009-12-05 18:40:06 -02:00
radio V4L/DVB (13073): radio-mr800: set radio frequency only upon success 2009-12-05 18:40:12 -02:00
video V4L/DVB (13089): cx25840: Separate set_audclk_freq functionality for the different chips 2009-12-05 18:40:18 -02:00
Kconfig V4L/DVB (11881): one kconfig controls them all 2009-06-16 18:21:16 -03:00
Makefile V4L/DVB (8274): sms1xxx: build cleanup after driver relocation 2008-07-20 07:20:56 -03:00