summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2010-05-19 03:13:38 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-07-05 18:17:21 +0200
commitaa5f858b16d44887cf8a40a746592ae08df5664a (patch)
treee931908edec5cf8fc917272ea638292cc076dd7b /arch/mips
parentMIPS: Loongson: CS5536: Add missing RDMSRs for IDE and USB (diff)
downloadlinux-aa5f858b16d44887cf8a40a746592ae08df5664a.tar.xz
linux-aa5f858b16d44887cf8a40a746592ae08df5664a.zip
MIPS: Loongson: Add a missing break statement in CS5536 IDE code
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: linux-mips@linux-mips.org Cc: Zhang Le <r0bertz@gentoo.org> Cc: Hu Hongbing <huhb@lemote.com> Patchwork: http://patchwork.linux-mips.org/patch/1251/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/loongson/common/cs5536/cs5536_ide.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/loongson/common/cs5536/cs5536_ide.c b/arch/mips/loongson/common/cs5536/cs5536_ide.c
index 7ebf17a949a9..681d1291a2c7 100644
--- a/arch/mips/loongson/common/cs5536/cs5536_ide.c
+++ b/arch/mips/loongson/common/cs5536/cs5536_ide.c
@@ -179,6 +179,7 @@ u32 pci_ide_read_reg(int reg)
case PCI_IDE_ETC_REG:
_rdmsr(IDE_MSR_REG(IDE_ETC), &hi, &lo);
conf_data = lo;
+ break;
case PCI_IDE_PM_REG:
_rdmsr(IDE_MSR_REG(IDE_INTERNAL_PM), &hi, &lo);
conf_data = lo;