From: Daniel Mack Date: Fri, 24 Apr 2009 14:37:45 +0000 (+0200) Subject: ASoC: cs4270: add Master Playback Switch X-Git-Tag: v2.6.31-rc1~363^2~29^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a4ba05ec8369d62c10155a8931e81267bfbd31c;p=pandora-kernel.git ASoC: cs4270: add Master Playback Switch This adds a new control named 'Master Playback Switch' for cs4270 codecs. It is implemented using the new SOC_DOUBLE_EXT macro to catch the put function and store the information about manually set mute controls from userspace. When a manual mute is set, we don't want the soc core to un-mute the outputs. Renamed cs4270_mute() to cs4270_dai_mute() to avoid confusion. Signed-off-by: Daniel Mack Acked-by: Timur Tabi Signed-off-by: Mark Brown --- Reading git-diff-tree failed