drivers/soundwire: Unify SoundWire ALC codec names under ALC 7 Series
This change removes individual conditional blocks for specific ALC codec models and introduces a common name for the entire ALC 7 Series configuration. TEST=Build and test with DRIVERS_SOUNDWIRE_ALC_BASE_7XX. Change-Id: Ib7c33351207df472cd11243244063b007c24d9bf Signed-off-by: Varun Upadhyay <varun.upadhyay@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84646 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
parent
4320b5da8f
commit
18890c8206
1 changed files with 2 additions and 4 deletions
|
|
@ -158,10 +158,8 @@ static void soundwire_alc711_enable(struct device *dev)
|
|||
}
|
||||
|
||||
struct chip_operations drivers_soundwire_alc711_ops = {
|
||||
#if CONFIG(DRIVERS_SOUNDWIRE_ALC711)
|
||||
.name = "Realtek ALC711 SoundWire Codec",
|
||||
#elif CONFIG(DRIVERS_SOUNDWIRE_ALC722)
|
||||
.name = "Realtek ALC722 SoundWire Codec",
|
||||
#if CONFIG(DRIVERS_SOUNDWIRE_ALC_BASE_7XX)
|
||||
.name = "Realtek ALC 7 Series SoundWire Codec",
|
||||
#else
|
||||
.name = "Unknown",
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue