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>
This commit is contained in:
parent
42552ca902
commit
ed9b350478
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue