mirror of
https://github.com/openharmony/third_party_tinyalsa.git
synced 2026-07-19 15:24:22 -04:00
Fixup some minor code formatting issues
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
This commit is contained in:
+1
-1
@@ -637,7 +637,7 @@ int mixer_ctl_get_array(const struct mixer_ctl *ctl, void *array, size_t count)
|
||||
void *source;
|
||||
size_t total_count;
|
||||
|
||||
if ((!ctl) || !count || !array)
|
||||
if (!ctl || !count || !array)
|
||||
return -EINVAL;
|
||||
|
||||
total_count = ctl->info.count;
|
||||
|
||||
+2
-2
@@ -168,7 +168,7 @@ static void tinymix_list_controls(struct mixer *mixer, int print_all)
|
||||
num_values = mixer_ctl_get_num_values(ctl);
|
||||
printf("%u\t%s\t%u\t%-40s", i, type, num_values, name);
|
||||
if (print_all)
|
||||
tinymix_detail_control(mixer, name);
|
||||
tinymix_detail_control(mixer, name);
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
@@ -265,7 +265,7 @@ static void tinymix_detail_control(struct mixer *mixer, const char *control)
|
||||
}
|
||||
|
||||
static void tinymix_set_byte_ctl(struct mixer_ctl *ctl,
|
||||
char **values, unsigned int num_values)
|
||||
char **values, unsigned int num_values)
|
||||
{
|
||||
int ret;
|
||||
char *buf;
|
||||
|
||||
Reference in New Issue
Block a user