This patch cleans up the audio code for the cx25840 (indent stuff). It also makes the firmware load functions clean up allocated memory before exiting if the i2c writes fail. I moved Chris' fallback code into a static inline function so that the code only has to exist in one place.
I believe I have fixed the compile for people using 2.4 kernels >=2.4.23 (everyone else should have already been fine) while preserving the ability to use hotplug for the load. This needs tested though, report back please. -- Tyler Trafford
cx25840-firmwarefix-audiocleanup.diff.gz
Description: GNU Zip compressed data
