mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
ASoC: soc-core: remove OF adjusting for snd_soc_of_parse_audio_prefix
Because prototype of OF-graph sound card support didn't have Sound Card node, commitb6defcca0a("ASoC: soc-core: adjust for graph on snd_soc_of_parse_audio_prefix") adjusted to it on each functions. But final discussion result of ALSA SoC / OF-graph ML, OF-graph sound card has node. Thus, this commit became no longer needed. This reverts commitb6defcca0a. Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
21efde50ca
commit
440a3006f1
2 changed files with 4 additions and 11 deletions
|
|
@ -1656,11 +1656,7 @@ int snd_soc_of_parse_tdm_slot(struct device_node *np,
|
|||
unsigned int *rx_mask,
|
||||
unsigned int *slots,
|
||||
unsigned int *slot_width);
|
||||
#define snd_soc_of_parse_audio_prefix(card, codec_conf, of_node, propname) \
|
||||
snd_soc_of_parse_audio_prefix_from_node(card, NULL, codec_conf, \
|
||||
of_node, propname)
|
||||
void snd_soc_of_parse_audio_prefix_from_node(struct snd_soc_card *card,
|
||||
struct device_node *np,
|
||||
void snd_soc_of_parse_audio_prefix(struct snd_soc_card *card,
|
||||
struct snd_soc_codec_conf *codec_conf,
|
||||
struct device_node *of_node,
|
||||
const char *propname);
|
||||
|
|
|
|||
Loading…
Reference in a new issue