]> git.alsa-project.org Git - alsa-utils.git/commitdiff
topology: some whitespace fixups
authorJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:28:00 +0000 (18:28 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:36:46 +0000 (18:36 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
topology/pre-process-class.c
topology/pre-process-dai.c
topology/pre-process-dapm.c
topology/pre-process-object.c
topology/pre-processor.h

index f4f3b01fd76bbb7fa6038399dc1a9fb7090275f7..a328693d650a3d0e989df9d02c9819edaf0c648b 100644 (file)
@@ -40,7 +40,7 @@ bool tplg_class_is_attribute_check(const char *attr, snd_config_t *class_cfg, ch
 
        snd_config_for_each(i, next, cfg) {
                const char *id, *s;
-               
+
                n = snd_config_iterator_entry(i);
                if (snd_config_get_id(n, &id) < 0)
                        continue;
@@ -211,7 +211,7 @@ snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *tplg_
 
 /* get token_ref for attribute with name attr_name in the class */
 const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *tplg_pp,
-                                               snd_config_t *class, const char *attr_name)
+                                              snd_config_t *class, const char *attr_name)
 {
        snd_config_t *attributes, *attr, *token_ref;
        const char *token;
@@ -238,7 +238,7 @@ const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *tplg_p
 
 /* convert a valid attribute string value to the corresponding tuple value */
 long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *tplg_pp,
-                                               snd_config_t *class, snd_config_t *attr)
+                                           snd_config_t *class, snd_config_t *attr)
 {
 
        snd_config_t *attributes, *cfg, *valid, *tuples, *n;
index 1158afd39a4600ee1e811f4f46862b5c7b9f8285..72aeefa7242fcf7a9ccfbb76bbbfb10d743ef837 100644 (file)
@@ -64,7 +64,7 @@ static int tplg_update_pcm_object(struct tplg_pre_processor *tplg_pp,
        item_name = tplg_object_get_name(tplg_pp, obj);
        if (!item_name)
                return -EINVAL;
-       
+
        /* get direction */
        ret = snd_config_search(obj, "direction", &cfg);
        if (ret < 0) {
index d2b3b7aa3733ab83eb2b3454f79ded819a877aee..450ca7173dce6fe4d5fe9d2173fdcebf7fe2fde8 100644 (file)
@@ -229,7 +229,7 @@ static int tplg_pp_get_widget_name(struct tplg_pre_processor *tplg_pp,
                                goto err;
                        }
                }
-               
+
                temp = tplg_snprintf("%s.%s", widget_name, arg);
                if (!temp) {
                        ret = -ENOMEM;
index fbf4b6a60fade9013529715dde9e0f40acc9999f..09aa3758520a10454aeaa24ab64d130afce2cd93 100644 (file)
@@ -32,7 +32,7 @@
 
 /* Parse VendorToken object, create the "SectionVendorToken" and save it */
 int tplg_build_vendor_token_object(struct tplg_pre_processor *tplg_pp,
-                              snd_config_t *obj_cfg, snd_config_t *parent)
+                                  snd_config_t *obj_cfg, snd_config_t *parent)
 {
        snd_config_iterator_t i, next;
        snd_config_t *vtop, *n, *obj;
@@ -358,7 +358,7 @@ static bool tplg_object_is_attribute_min_max_valid(snd_config_t *attr, snd_confi
                                return false;
                        }
                }
-               
+
                return true;
        }
        default:
@@ -720,7 +720,7 @@ static int tplg_object_add_attributes(snd_config_t *dst, snd_config_t *template,
        snd_config_for_each(i, next, template) {
                snd_config_t *attr, *new;
                const char *id;
-       
+
                n = snd_config_iterator_entry(i);
                if (snd_config_get_id(n, &id) < 0)
                        continue;
index 0c54a835b544524e7182ce6643a3dee169b0e3ff..3900372124398eb878573a16fce6feb1546445ae 100644 (file)
@@ -99,9 +99,9 @@ const char *tplg_class_get_unique_attribute_name(struct tplg_pre_processor *tplg
 snd_config_type_t tplg_class_get_attribute_type(struct tplg_pre_processor *tplg_pp,
                                                snd_config_t *attr);
 const char *tplg_class_get_attribute_token_ref(struct tplg_pre_processor *tplg_pp,
-                                               snd_config_t *class, const char *attr_name);
+                                              snd_config_t *class, const char *attr_name);
 long tplg_class_attribute_valid_tuple_value(struct tplg_pre_processor *tplg_pp,
-                                               snd_config_t *class, snd_config_t *attr);
+                                           snd_config_t *class, snd_config_t *attr);
 
 /* config helpers */
 snd_config_t *tplg_find_config(snd_config_t *config, const char *name);