ASoC: wm_adsp: use new 'cirrus' node
authorYoon (Seungyoon) Lee <w22905@motorola.com>
Wed, 26 Dec 2018 06:19:58 +0000 (00:19 -0600)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:52 +0000 (20:23 +0300)
We have Kane only in this new platform so far and this is good
chance to transit to use new 'cirrus' node instead of old 'wlf'
node since we don't have any old products dt in this branch yet.

Change-Id: I31f883043913f287da62f8a39ca6a828c2b5da3a
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1287049
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

sound/soc/codecs/wm_adsp.c

index 6e535fe3a43b0e04a4658f342f3fc00b85e40a4b..d772032c8d2e215d51c9ec556b3ff66bd9dc23e9 100755 (executable)
@@ -3952,22 +3952,6 @@ static int wm_adsp_of_parse_firmware(struct wm_adsp *dsp,
        while ((fw = of_get_next_child(fws, fw)) != NULL) {
                ctl_names[i] = fw->name;
 
-               /* check for old dts configuration */
-               ret = of_property_read_string(fw, "wlf,wmfw-file",
-                                             &dsp->firmwares[i].file);
-               if (ret == 0) {
-                       ret = of_property_read_string(fw, "wlf,bin-file",
-                                             &dsp->firmwares[i].binfile);
-                       if (ret < 0)
-                               dsp->firmwares[i].binfile = NULL;
-                       dsp->firmwares[i].fullname = true;
-                       dsp->firmwares[i].compr_direction = SND_COMPRESS_CAPTURE;
-                       dsp->firmwares[i].num_caps = ARRAY_SIZE(trace_caps);
-                       dsp->firmwares[i].caps = trace_caps;
-                       i++;
-                       continue;
-               }
-
                ret = of_property_read_string(fw, "cirrus,wmfw-file",
                                              &dsp->firmwares[i].file);
                if (ret < 0) {