Trettet already posted the fix, please search forums before you repost the same fixes, especially if pulling files from other peoples Roms.
http://xdaforums.com/showthread.php?t=1587870
trettet provided the files from latest CM sources and I've provided the fix from adam's old CM files(i.e. from CM 7.2 N2 kang) I did it because the cam quality and auto exposure were bad with latest CM sources, and with my fix, they are much better.. Hence, the two fixes are different... Please don't post before understanding anything properly.