From 1895d1a181a0e50f05f03c247d9827e976b9b333 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 18 Mar 2021 17:39:25 +0100 Subject: {lynxpoint,broadwell}/hda_verb.c: Drop effect-free write This bit is hardwired to 1 (Intel High Definition Audio mode). Change-Id: I3683497c5e2446f1d8319037583890b5d0a8a95c Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/51644 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/soc/intel/broadwell/pch/hda.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/soc/intel/broadwell') diff --git a/src/soc/intel/broadwell/pch/hda.c b/src/soc/intel/broadwell/pch/hda.c index 04390d1342..c6ae590bc4 100644 --- a/src/soc/intel/broadwell/pch/hda.c +++ b/src/soc/intel/broadwell/pch/hda.c @@ -60,10 +60,6 @@ static void hda_pch_init(struct device *dev, u8 *base) reg32 |= (1 << 24); pci_write_config32(dev, 0xc4, reg32); - reg8 = pci_read_config8(dev, 0x40); // Audio Control - reg8 |= 1; // Select HDA mode - pci_write_config8(dev, 0x40, reg8); - reg8 = pci_read_config8(dev, 0x4d); // Docking Status reg8 &= ~(1 << 7); // Docking not supported pci_write_config8(dev, 0x4d, reg8); -- cgit v1.2.3