rimage: correct module type

Currently some module types are incorrect and it was set by the change
sequence. The module type is used by windows driver not Linux driver.
It is defined in the following enum definition in cavs_ext_manifest.h.

UpDwMix module type is 5, Mux is 6 kpb is 11, and Selector is 12. The
module ASRC, GAIN, PROBE are type of efx (9) according to spec.

enum mod_type {
        ebasefw = 0,
        emixin,
        emixout,
        ecopier,
        epeakvol,
        eupdwmix,
        emux,
        esrc,
        ewov,
        efx,
        eaec,
        ekpb,
        emicselect,
        efxf,   /*i.e.SmartAmp */
        eaudclass,
        efakecopier,
        eiodriver,
        ewhm,
        egdbstub,
        esensing,
        emax,
        einvalid = emax
} ;

Signed-off-by: Rander Wang <rander.wang@intel.com>
This commit is contained in:
Rander Wang 2022-11-22 14:12:33 +08:00 committed by Michal Wasko
parent f51ff46635
commit fe5b959adb
1 changed files with 8 additions and 8 deletions

View File

@ -192,7 +192,7 @@ count = 15
instance_count = "40"
domain_types = "0"
load_type = "0"
module_type = "5"
module_type = "9"
auto_start = "0"
sched_caps = [1, 0x00008000]
@ -217,7 +217,7 @@ count = 15
domain_types = "0"
load_type = "0"
module_type = "6"
module_type = "9"
auto_start = "0"
sched_caps = [1, 0x00008000]
@ -288,7 +288,7 @@ count = 15
instance_count = "8"
domain_types = "0"
load_type = "0"
module_type = "8"
module_type = "12"
auto_start = "0"
sched_caps = [1, 0x00008000]
@ -307,7 +307,7 @@ count = 15
instance_count = "15"
domain_types = "0"
load_type = "1"
module_type = "9"
module_type = "5"
auto_start = "0"
sched_caps = [1, 0x00008000]
@ -332,7 +332,7 @@ count = 15
instance_count = "1"
domain_types = "0"
load_type = "0"
module_type = "0xA"
module_type = "9"
auto_start = "0"
sched_caps = [1, 0x00008000]
@ -346,7 +346,7 @@ count = 15
instance_count = "15"
domain_types = "0"
load_type = "1"
module_type = "0xB"
module_type = "6"
auto_start = "0"
sched_caps = [1, 0x00008000]
@ -365,7 +365,7 @@ count = 15
instance_count = "1"
domain_types = "0"
load_type = "1"
module_type = "0xC"
module_type = "9"
auto_start = "0"
sched_caps = [1, 0x00008000]
@ -383,7 +383,7 @@ count = 15
instance_count = "1"
domain_types = "0"
load_type = "1"
module_type = "0xD"
module_type = "0xB"
auto_start = "0"
sched_caps = [1, 0x00008000]