A commit fe1b08803db6 ('ctl: improve API documentation for threshold level operations') changes documentations for some TLV-related APIs with wrong explanations.
This commit fix it with better explanations.
Fixes: fe1b08803db6('ctl: improve API documentation for threshold level operations') Signed-off-by: Takashi Sakamoto o-takashi@sakamocchi.jp --- src/control/control.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/control/control.c b/src/control/control.c index 6c00b8e..383f401 100644 --- a/src/control/control.c +++ b/src/control/control.c @@ -912,7 +912,7 @@ static int snd_ctl_tlv_do(snd_ctl_t *ctl, int op_flag, }
/** - * \brief Set given data to an element as threshold level. + * \brief Read threshold level from an element to given buffer. * \param ctl A handle of backend module for control interface. * \param id ID of an element. * \param tlv An array with members of unsigned int type. @@ -940,7 +940,7 @@ int snd_ctl_elem_tlv_read(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, }
/** - * \brief Set given data to an element as threshold level. + * \brief Write threshold level from given buffer to an element. * \param ctl A handle of backend module for control interface. * \param id ID of an element. * \param tlv An array with members of unsigned int type. The second member @@ -957,7 +957,7 @@ int snd_ctl_elem_tlv_write(snd_ctl_t *ctl, const snd_ctl_elem_id_t *id, }
/** - * \brief Set given data to an element as threshold level. + * \brief Process threshold level from given buffer for an element. * \param ctl A handle of backend module for control interface. * \param id ID of an element. * \param tlv An array with members of unsigned int type. The second member