Skip to content

Commit 62f64a8

Browse files
larsclausentiwai
authored andcommitted
ALSA: pcm: Fix kerneldoc for params_*() functions
Fix a copy and paste error in the kernel doc description for the params_*() functions. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent e83ce4a commit 62f64a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/sound/pcm.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ static inline unsigned int params_channels(const struct snd_pcm_hw_params *p)
857857
}
858858

859859
/**
860-
* params_channels - Get the sample rate from the hw params
860+
* params_rate - Get the sample rate from the hw params
861861
* @p: hw params
862862
*/
863863
static inline unsigned int params_rate(const struct snd_pcm_hw_params *p)
@@ -866,7 +866,7 @@ static inline unsigned int params_rate(const struct snd_pcm_hw_params *p)
866866
}
867867

868868
/**
869-
* params_channels - Get the period size (in frames) from the hw params
869+
* params_period_size - Get the period size (in frames) from the hw params
870870
* @p: hw params
871871
*/
872872
static inline unsigned int params_period_size(const struct snd_pcm_hw_params *p)
@@ -875,7 +875,7 @@ static inline unsigned int params_period_size(const struct snd_pcm_hw_params *p)
875875
}
876876

877877
/**
878-
* params_channels - Get the number of periods from the hw params
878+
* params_periods - Get the number of periods from the hw params
879879
* @p: hw params
880880
*/
881881
static inline unsigned int params_periods(const struct snd_pcm_hw_params *p)
@@ -884,7 +884,7 @@ static inline unsigned int params_periods(const struct snd_pcm_hw_params *p)
884884
}
885885

886886
/**
887-
* params_channels - Get the buffer size (in frames) from the hw params
887+
* params_buffer_size - Get the buffer size (in frames) from the hw params
888888
* @p: hw params
889889
*/
890890
static inline unsigned int params_buffer_size(const struct snd_pcm_hw_params *p)
@@ -893,7 +893,7 @@ static inline unsigned int params_buffer_size(const struct snd_pcm_hw_params *p)
893893
}
894894

895895
/**
896-
* params_channels - Get the buffer size (in bytes) from the hw params
896+
* params_buffer_bytes - Get the buffer size (in bytes) from the hw params
897897
* @p: hw params
898898
*/
899899
static inline unsigned int params_buffer_bytes(const struct snd_pcm_hw_params *p)

0 commit comments

Comments
 (0)