From: Laurence Darby Date: Sat, 3 Nov 2012 17:00:06 +0000 (+0000) Subject: ALSA: hda - stop setup_dig_out_stream() causing clicks X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~39^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bef1c377d1bd8fd879ee5a66cf6f45ba16820cd;p=pandora-kernel.git ALSA: hda - stop setup_dig_out_stream() causing clicks Starting audio or seeking in various music players causes setup_dig_out_stream() to be called, which resets the SPDIF stream, which caused one DAC (but not another) to make a clicking noise every time. This patch ensures the reset only happens when it needs to, which is when the format changes, and makes the code a little more readable. Signed-off-by: Laurence Darby Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed