|
@@ -2140,7 +2140,7 @@ EXPORT_SYMBOL_GPL(snd_soc_codec_set_pll);
|
|
|
/**
|
|
|
* snd_soc_dai_set_bclk_ratio - configure BCLK to sample rate ratio.
|
|
|
* @dai: DAI
|
|
|
- * @ratio Ratio of BCLK to Sample rate.
|
|
|
+ * @ratio: Ratio of BCLK to Sample rate.
|
|
|
*
|
|
|
* Configures the DAI for a preset BCLK to sample rate ratio.
|
|
|
*/
|
|
@@ -2808,6 +2808,7 @@ EXPORT_SYMBOL_GPL(snd_soc_register_component);
|
|
|
/**
|
|
|
* snd_soc_unregister_component - Unregister a component from the ASoC core
|
|
|
*
|
|
|
+ * @dev: The device to unregister
|
|
|
*/
|
|
|
void snd_soc_unregister_component(struct device *dev)
|
|
|
{
|
|
@@ -2848,7 +2849,7 @@ static void snd_soc_platform_drv_remove(struct snd_soc_component *component)
|
|
|
* snd_soc_add_platform - Add a platform to the ASoC core
|
|
|
* @dev: The parent device for the platform
|
|
|
* @platform: The platform to add
|
|
|
- * @platform_driver: The driver for the platform
|
|
|
+ * @platform_drv: The driver for the platform
|
|
|
*/
|
|
|
int snd_soc_add_platform(struct device *dev, struct snd_soc_platform *platform,
|
|
|
const struct snd_soc_platform_driver *platform_drv)
|
|
@@ -2887,7 +2888,8 @@ EXPORT_SYMBOL_GPL(snd_soc_add_platform);
|
|
|
/**
|
|
|
* snd_soc_register_platform - Register a platform with the ASoC core
|
|
|
*
|
|
|
- * @platform: platform to register
|
|
|
+ * @dev: The device for the platform
|
|
|
+ * @platform_drv: The driver for the platform
|
|
|
*/
|
|
|
int snd_soc_register_platform(struct device *dev,
|
|
|
const struct snd_soc_platform_driver *platform_drv)
|
|
@@ -2948,7 +2950,7 @@ EXPORT_SYMBOL_GPL(snd_soc_lookup_platform);
|
|
|
/**
|
|
|
* snd_soc_unregister_platform - Unregister a platform from the ASoC core
|
|
|
*
|
|
|
- * @platform: platform to unregister
|
|
|
+ * @dev: platform to unregister
|
|
|
*/
|
|
|
void snd_soc_unregister_platform(struct device *dev)
|
|
|
{
|
|
@@ -3039,7 +3041,10 @@ static int snd_soc_codec_set_bias_level(struct snd_soc_dapm_context *dapm,
|
|
|
/**
|
|
|
* snd_soc_register_codec - Register a codec with the ASoC core
|
|
|
*
|
|
|
- * @codec: codec to register
|
|
|
+ * @dev: The parent device for this codec
|
|
|
+ * @codec_drv: Codec driver
|
|
|
+ * @dai_drv: The associated DAI driver
|
|
|
+ * @num_dai: Number of DAIs
|
|
|
*/
|
|
|
int snd_soc_register_codec(struct device *dev,
|
|
|
const struct snd_soc_codec_driver *codec_drv,
|
|
@@ -3140,7 +3145,7 @@ EXPORT_SYMBOL_GPL(snd_soc_register_codec);
|
|
|
/**
|
|
|
* snd_soc_unregister_codec - Unregister a codec from the ASoC core
|
|
|
*
|
|
|
- * @codec: codec to unregister
|
|
|
+ * @dev: codec to unregister
|
|
|
*/
|
|
|
void snd_soc_unregister_codec(struct device *dev)
|
|
|
{
|