Commit 59acd5df authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branches 'asoc/topic/davinci', 'asoc/topic/debugfs' and...

Merge remote-tracking branches 'asoc/topic/davinci', 'asoc/topic/debugfs' and 'asoc/topic/doc' into asoc-next
...@@ -358,13 +358,20 @@ static struct snd_soc_card evm_soc_card = { ...@@ -358,13 +358,20 @@ static struct snd_soc_card evm_soc_card = {
static int davinci_evm_probe(struct platform_device *pdev) static int davinci_evm_probe(struct platform_device *pdev)
{ {
struct device_node *np = pdev->dev.of_node; struct device_node *np = pdev->dev.of_node;
const struct of_device_id *match = const struct of_device_id *match;
of_match_device(of_match_ptr(davinci_evm_dt_ids), &pdev->dev); struct snd_soc_dai_link *dai;
struct snd_soc_dai_link *dai = (struct snd_soc_dai_link *) match->data;
struct snd_soc_card_drvdata_davinci *drvdata = NULL; struct snd_soc_card_drvdata_davinci *drvdata = NULL;
struct clk *mclk; struct clk *mclk;
int ret = 0; int ret = 0;
match = of_match_device(of_match_ptr(davinci_evm_dt_ids), &pdev->dev);
if (!match) {
dev_err(&pdev->dev, "Error: No device match found\n");
return -ENODEV;
}
dai = (struct snd_soc_dai_link *) match->data;
evm_soc_card.dai_link = dai; evm_soc_card.dai_link = dai;
dai->codec_of_node = of_parse_phandle(np, "ti,audio-codec", 0); dai->codec_of_node = of_parse_phandle(np, "ti,audio-codec", 0);
......
...@@ -251,7 +251,7 @@ EXPORT_SYMBOL_GPL(snd_soc_new_ac97_codec); ...@@ -251,7 +251,7 @@ EXPORT_SYMBOL_GPL(snd_soc_new_ac97_codec);
/** /**
* snd_soc_free_ac97_codec - free AC97 codec device * snd_soc_free_ac97_codec - free AC97 codec device
* @codec: audio codec * @ac97: snd_ac97 device to be freed
* *
* Frees AC97 codec device resources. * Frees AC97 codec device resources.
*/ */
......
...@@ -980,7 +980,7 @@ EXPORT_SYMBOL_GPL(snd_soc_find_dai); ...@@ -980,7 +980,7 @@ EXPORT_SYMBOL_GPL(snd_soc_find_dai);
* @card: soc card * @card: soc card
* @id: DAI link ID to match * @id: DAI link ID to match
* @name: DAI link name to match, optional * @name: DAI link name to match, optional
* @stream name: DAI link stream name to match, optional * @stream_name: DAI link stream name to match, optional
* *
* This function will search all existing DAI links of the soc card to * This function will search all existing DAI links of the soc card to
* find the link of the same ID. Since DAI links may not have their * find the link of the same ID. Since DAI links may not have their
...@@ -4203,8 +4203,6 @@ static void __exit snd_soc_exit(void) ...@@ -4203,8 +4203,6 @@ static void __exit snd_soc_exit(void)
snd_soc_util_exit(); snd_soc_util_exit();
snd_soc_debugfs_exit(); snd_soc_debugfs_exit();
#ifdef CONFIG_DEBUG_FS
#endif
platform_driver_unregister(&soc_driver); platform_driver_unregister(&soc_driver);
} }
module_exit(snd_soc_exit); module_exit(snd_soc_exit);
......
...@@ -120,7 +120,7 @@ int snd_soc_put_enum_double(struct snd_kcontrol *kcontrol, ...@@ -120,7 +120,7 @@ int snd_soc_put_enum_double(struct snd_kcontrol *kcontrol,
EXPORT_SYMBOL_GPL(snd_soc_put_enum_double); EXPORT_SYMBOL_GPL(snd_soc_put_enum_double);
/** /**
* snd_soc_read_signed - Read a codec register and interprete as signed value * snd_soc_read_signed - Read a codec register and interpret as signed value
* @component: component * @component: component
* @reg: Register to read * @reg: Register to read
* @mask: Mask to use after shifting the register value * @mask: Mask to use after shifting the register value
......
...@@ -1927,7 +1927,7 @@ static int soc_tplg_pcm_elems_load(struct soc_tplg *tplg, ...@@ -1927,7 +1927,7 @@ static int soc_tplg_pcm_elems_load(struct soc_tplg *tplg,
/** /**
* set_link_hw_format - Set the HW audio format of the physical DAI link. * set_link_hw_format - Set the HW audio format of the physical DAI link.
* @tplg: topology context * @link: &snd_soc_dai_link which should be updated
* @cfg: physical link configs. * @cfg: physical link configs.
* *
* Topology context contains a list of supported HW formats (configs) and * Topology context contains a list of supported HW formats (configs) and
...@@ -1978,7 +1978,7 @@ static void set_link_hw_format(struct snd_soc_dai_link *link, ...@@ -1978,7 +1978,7 @@ static void set_link_hw_format(struct snd_soc_dai_link *link,
/** /**
* link_new_ver - Create a new physical link config from the old * link_new_ver - Create a new physical link config from the old
* version of source. * version of source.
* @toplogy: topology context * @tplg: topology context
* @src: old version of phyical link config as a source * @src: old version of phyical link config as a source
* @link: latest version of physical link config created from the source * @link: latest version of physical link config created from the source
* *
...@@ -2220,7 +2220,7 @@ static int soc_tplg_dai_elems_load(struct soc_tplg *tplg, ...@@ -2220,7 +2220,7 @@ static int soc_tplg_dai_elems_load(struct soc_tplg *tplg,
/** /**
* manifest_new_ver - Create a new version of manifest from the old version * manifest_new_ver - Create a new version of manifest from the old version
* of source. * of source.
* @toplogy: topology context * @tplg: topology context
* @src: old version of manifest as a source * @src: old version of manifest as a source
* @manifest: latest version of manifest created from the source * @manifest: latest version of manifest created from the source
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment