From: Lars-Peter Clausen Date: Fri, 28 Feb 2014 07:31:05 +0000 (+0100) Subject: ASoC: Add macros for defining virtual enums X-Git-Tag: v3.15-rc1~36^2~1^2~5^2~12^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b948837a32cc2a510c2baf90111c8c5dde801a66;p=pandora-kernel.git ASoC: Add macros for defining virtual enums With the upcoming consolidation of normal MUXs and virtual MUXs we need to be able to distinguish between enums with and without a backing register at the enum level. Use the same approach as used for virtual mixer controls by setting the reg field of the enum to SND_SOC_NOPM for enums without a backing register. This patch adds a set of helper macros that can be used to define such enums. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed