From: Adrian Knoth Date: Tue, 15 Jan 2013 17:52:21 +0000 (+0100) Subject: ALSA: hdsp - Implement generic function to toggle settings X-Git-Tag: v3.9-rc1~129^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66d9244ec72392c1cc906a41545e6669a97a2c8e;p=pandora-kernel.git ALSA: hdsp - Implement generic function to toggle settings The driver contains multiple similar functions that change only a single bit in the control register, only the bit position varies. This patch implements a generic function to toggle a certain bit position that will be used to replace the old code. Signed-off-by: Adrian Knoth Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed