This patch does the following things: 1) Removes the code associated with 'no_black_magic', and the parameter
2) Removes the 'audiofmt' paramter, since that is now being overridden anyway
3) Removed the recent AUD_MODE_AUD_SYSTEM logic, and placed eqivalent
logic in the SET_NORM section, since that is when it needs to change
anyway.
4) 'cardtype=1', according to the code, was for PVR500s once upon a
time, this is no longer true, so I removed that code. Now PG600 users
should use 'cardtype=1' (used to be 2).
5) fixes to cx25840-registers.c and cx25840-settings.h for things I
left out when adding the SRC{1,2}_FIFO_RD_TH settings.
6) Separated the cx25840 and wm8775 audio input switch logic in
ivtv-audio.c. This allows cards without a wm8775 to still have their
audio input correctly switched.
8) I totally removed the extra audio code sections that Hauppage left
in in an attempt to not break non PVR150 cards. I've gone over it,
and it looks like there won't be any problems. Obviously this will
need tested. Diamond PVR550 users out there, this means you!
There is still things to clean up. Any settings in cx25840_initialize
that are also set in SET_INPUT or SET_AUDIO or SET_AUDIO_INPUT are
pointless and can be removed.
--
Tyler Trafford
cx25840-audio.diff.gz
Description: GNU Zip compressed data
