diff options
author | Varun Upadhyay <varun.upadhyay@intel.com> | 2024-10-03 13:22:38 +0530 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-10-07 20:39:21 +0000 |
commit | 18890c82069414e1b13dada3567c95751326e81d (patch) | |
tree | 61fba0183611af6d1dabe9ab5c16f8dae86bd9bc | |
parent | 4320b5da8ff3b7e88343c1a9d5d42f8e6400833d (diff) |
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>
-rw-r--r-- | src/drivers/soundwire/alc711/alc711.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/drivers/soundwire/alc711/alc711.c b/src/drivers/soundwire/alc711/alc711.c index c5e7a8e5b6..5384f606f5 100644 --- a/src/drivers/soundwire/alc711/alc711.c +++ b/src/drivers/soundwire/alc711/alc711.c @@ -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 |