From: Takashi Iwai Date: Tue, 24 Jan 2012 11:25:50 +0000 (+0100) Subject: ALSA: hda - Check power-state before changing in patch_via.c X-Git-Tag: v3.3-rc3~29^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=054d867e032daf55c3343fc6d36c5c5f1e7954db;p=pandora-kernel.git ALSA: hda - Check power-state before changing in patch_via.c Instead of always writing AC_VERB_SET_POWER_STATE, check the current power-state and don't write again if the value is already set. This may reduce the click noise upon the dynamic power-state change (e.g. in analog-input mixer). Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed