summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-11-10 17:28:58 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2021-11-11 22:42:53 +0000
commited9b350478f0156108d63c6758740cd6f5b83faa (patch)
tree7126ea3c794cd71730db62bd9bedad4d22445e49 /src/southbridge
parent42552ca90207ed085e0d1d9b38db19e5e6810116 (diff)
sb/intel/i82801{ix,jx}: Initialise all codecs
These southbridges support four external codecs, not three. Change-Id: I3f352451d16dceefa0f3fabf413a0e57aa498df5 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59109 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/i82801ix/azalia.c2
-rw-r--r--src/southbridge/intel/i82801jx/azalia.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/i82801ix/azalia.c b/src/southbridge/intel/i82801ix/azalia.c
index ca1b0b333f..4fc2343f34 100644
--- a/src/southbridge/intel/i82801ix/azalia.c
+++ b/src/southbridge/intel/i82801ix/azalia.c
@@ -124,7 +124,7 @@ static void codecs_init(struct device *dev, u8 *base, u32 codec_mask)
{
int i;
- for (i = 2; i >= 0; i--) {
+ for (i = 3; i >= 0; i--) {
if (codec_mask & (1 << i))
codec_init(dev, base, i);
}
diff --git a/src/southbridge/intel/i82801jx/azalia.c b/src/southbridge/intel/i82801jx/azalia.c
index 8862628e7c..2f58d071fe 100644
--- a/src/southbridge/intel/i82801jx/azalia.c
+++ b/src/southbridge/intel/i82801jx/azalia.c
@@ -124,7 +124,7 @@ static void codecs_init(struct device *dev, u8 *base, u32 codec_mask)
{
int i;
- for (i = 2; i >= 0; i--) {
+ for (i = 3; i >= 0; i--) {
if (codec_mask & (1 << i))
codec_init(dev, base, i);
}