mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
mixer: change code formatting for init_db_range()
This commit applies code format according to typical and moderate rule. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
60920eb7f3
commit
1ad6d7b852
1 changed files with 2 additions and 2 deletions
|
|
@ -1112,10 +1112,10 @@ static int init_db_range(snd_hctl_elem_t *ctl, struct selem_str *rec)
|
|||
snd_ctl_elem_info_alloca(&info);
|
||||
if (snd_hctl_elem_info(ctl, info) < 0)
|
||||
goto error;
|
||||
if (! snd_ctl_elem_info_is_tlv_readable(info))
|
||||
if (!snd_ctl_elem_info_is_tlv_readable(info))
|
||||
goto error;
|
||||
tlv = malloc(tlv_size);
|
||||
if (! tlv)
|
||||
if (!tlv)
|
||||
return -ENOMEM;
|
||||
if (snd_hctl_elem_tlv_read(ctl, tlv, tlv_size) < 0)
|
||||
goto error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue