From: Adrian Knoth Date: Mon, 3 Dec 2012 13:55:49 +0000 (+0100) Subject: ALSA: hdspm - Implement generic function to toggle settings X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~39^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf0ff87bef59fbc60b259b8843ae7fbed2cc44bd;p=pandora-kernel.git ALSA: hdspm - Implement generic function to toggle settings The driver contains at least six 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