From: Xiubo Li
Date: Sat, 8 Feb 2014 07:59:52 +0000 (+0800)
Subject: ASoC: add snd_soc_of_parse_audio_simple_widgets for DT
X-Git-Tag: v3.15-rc1~36^2~1^2~5^2~5^3~3
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a6d48605e632e84db2895cf752c65b3c908cd09;p=pandora-kernel.git
ASoC: add snd_soc_of_parse_audio_simple_widgets for DT
This patch adds snd_soc_of_parse_audio_simple_widgets() and supports
below style of widgets name on DT:
"template-wname", "user supplied wname"
For instance:
simple-audio-widgets =
"Microphone", "Microphone Jack",
"Line", "Line In Jack",
"Line", "Line Out Jack",
"Headphone", "Headphone Jack",
"Speaker", "Speaker External";
The "template-wname" currently includes: "Microphone", "Line", "Headphone"
and "Speaker".
Signed-off-by: Xiubo Li
Signed-off-by: Mark Brown
---
Reading git-diff-tree failed