From 18890c82069414e1b13dada3567c95751326e81d Mon Sep 17 00:00:00 2001 From: Varun Upadhyay Date: Thu, 3 Oct 2024 13:22:38 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84646 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/drivers/soundwire/alc711/alc711.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3