summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/amd/sb600/hda.c2
-rw-r--r--src/southbridge/amd/sb700/hda.c2
-rw-r--r--src/southbridge/amd/sb800/hda.c2
-rw-r--r--src/southbridge/intel/sch/audio.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/amd/sb600/hda.c b/src/southbridge/amd/sb600/hda.c
index 711d84b39b..c65f324832 100644
--- a/src/southbridge/amd/sb600/hda.c
+++ b/src/southbridge/amd/sb600/hda.c
@@ -208,7 +208,7 @@ static int wait_for_valid(u32 base)
udelay(1);
}
- return 1;
+ return -1;
}
static void codec_init(u32 base, int addr)
diff --git a/src/southbridge/amd/sb700/hda.c b/src/southbridge/amd/sb700/hda.c
index 48e472d78a..61cc5859d8 100644
--- a/src/southbridge/amd/sb700/hda.c
+++ b/src/southbridge/amd/sb700/hda.c
@@ -130,7 +130,7 @@ static int wait_for_valid(u32 base)
udelay(1);
}
- return 1;
+ return -1;
}
static void codec_init(u32 base, int addr)
diff --git a/src/southbridge/amd/sb800/hda.c b/src/southbridge/amd/sb800/hda.c
index c43e9490f0..ad8f80f0d8 100644
--- a/src/southbridge/amd/sb800/hda.c
+++ b/src/southbridge/amd/sb800/hda.c
@@ -132,7 +132,7 @@ static int wait_for_valid(u32 base)
udelay(1);
}
- return 1;
+ return -1;
}
static void codec_init(u32 base, int addr)
diff --git a/src/southbridge/intel/sch/audio.c b/src/southbridge/intel/sch/audio.c
index 4cb7af2c52..9c7793780a 100644
--- a/src/southbridge/intel/sch/audio.c
+++ b/src/southbridge/intel/sch/audio.c
@@ -187,7 +187,7 @@ static int wait_for_valid(u32 base)
udelay(1);
}
- return 1;
+ return -1;
}
static void codec_init(struct device *dev, u32 base, int addr)