Commit 62f64a880af2e82d1b41cb02cb43b88d30413993
Committed by
Takashi Iwai
1 parent
e83ce4a517
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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>
Showing 1 changed file with 5 additions and 5 deletions Side-by-side Diff
include/sound/pcm.h
... | ... | @@ -857,7 +857,7 @@ |
857 | 857 | } |
858 | 858 | |
859 | 859 | /** |
860 | - * params_channels - Get the sample rate from the hw params | |
860 | + * params_rate - Get the sample rate from the hw params | |
861 | 861 | * @p: hw params |
862 | 862 | */ |
863 | 863 | static inline unsigned int params_rate(const struct snd_pcm_hw_params *p) |
... | ... | @@ -866,7 +866,7 @@ |
866 | 866 | } |
867 | 867 | |
868 | 868 | /** |
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 | |
870 | 870 | * @p: hw params |
871 | 871 | */ |
872 | 872 | static inline unsigned int params_period_size(const struct snd_pcm_hw_params *p) |
... | ... | @@ -875,7 +875,7 @@ |
875 | 875 | } |
876 | 876 | |
877 | 877 | /** |
878 | - * params_channels - Get the number of periods from the hw params | |
878 | + * params_periods - Get the number of periods from the hw params | |
879 | 879 | * @p: hw params |
880 | 880 | */ |
881 | 881 | static inline unsigned int params_periods(const struct snd_pcm_hw_params *p) |
... | ... | @@ -884,7 +884,7 @@ |
884 | 884 | } |
885 | 885 | |
886 | 886 | /** |
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 | |
888 | 888 | * @p: hw params |
889 | 889 | */ |
890 | 890 | static inline unsigned int params_buffer_size(const struct snd_pcm_hw_params *p) |
... | ... | @@ -893,7 +893,7 @@ |
893 | 893 | } |
894 | 894 | |
895 | 895 | /** |
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 | |
897 | 897 | * @p: hw params |
898 | 898 | */ |
899 | 899 | static inline unsigned int params_buffer_bytes(const struct snd_pcm_hw_params *p) |