diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2023-05-15 10:32:00 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-17 11:19:35 +0000 |
commit | 4c5ec2137439bc098ef046a0e06fa5c4d3ded457 (patch) | |
tree | c3688ab63e8a7d4348d882adce1bdfa85e55f63e /src/drivers/sof/chip.h | |
parent | 579e03a13ee0ed11dfdf47493deb3a9d9ab672c4 (diff) |
drivers/sof: Use topology enums where appropriate
Also correct switch intendation, remove excess empty lines.
Change-Id: I86026e7f6c0c1c7f3dc6a473bb3afe2f6d32a247
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75230
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers/sof/chip.h')
-rw-r--r-- | src/drivers/sof/chip.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/drivers/sof/chip.h b/src/drivers/sof/chip.h index 518e06c3bd..5f7e8b8120 100644 --- a/src/drivers/sof/chip.h +++ b/src/drivers/sof/chip.h @@ -33,12 +33,10 @@ enum _mic_tplg { _4ch, }; - - struct drivers_sof_config { - unsigned int spkr_tplg; - unsigned int jack_tplg; - unsigned int mic_tplg; + enum _spkr_tplg spkr_tplg; + enum _jack_tplg jack_tplg; + enum _mic_tplg mic_tplg; }; #endif /* __DRIVERS_AUDIO_SOF_H__ */ |