From: Marton Balint Date: Tue, 31 Mar 2009 22:01:53 +0000 (-0300) Subject: V4L/DVB (11396): cx88: avoid reprogramming every audio register on A2 stereo/mono... X-Git-Tag: v2.6.31-rc1~297^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2325a6b98609b6559ce5da7528fc0f5a6d0d8e9b;p=pandora-kernel.git V4L/DVB (11396): cx88: avoid reprogramming every audio register on A2 stereo/mono change This patch changes cx88_set_stereo to avoid resetting all of the audio registers on stereo/mono change if the audio standard is A2, and set only the AUD_CTL register. The benefit of this method is that it eliminates the annoying clicking noise on setting the audio mode to stereo or mono. The driver had used the same method 1.5 years ago (and for FM radio it still does), but a pretty big cleanup commit changed it to the "complete audio reset" method, although the reason for this move was not clear. (If somebody knows why it was necessary, please let me know!) The original commit: http://linuxtv.org/hg/v4l-dvb/rev/ffe313541d7d Signed-off-by: Marton Balint Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed