Skip to content

Commit 23eb6f4

Browse files
ao2ralfbaechle
authored andcommitted
MIPS: Netlogic: Fix 0x0x prefixes.
Fix the 0x0x prefix in integer constants, in this case the registers interval is actually 0x8065 .. 0x80A4 as confirmed some lines above in the code. Signed-off-by: Antonio Ospite <ao2@ao2.it> Cc: linux-mips@linux-mips.org Cc: Jiri Kosina <trivial@kernel.org> Patchwork: https://patchwork.linux-mips.org/patch/9908/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent b7565cc commit 23eb6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/netlogic/xlp/ahci-init-xlp2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ static const u8 sata_phy_config1[] = {
152152
0xC9, 0xC9, 0x07, 0x07, 0x18, 0x18, 0x01, 0x01, 0x22, 0x00
153153
};
154154

155-
/* SATA PHY config for register block 2 0x0x8065 .. 0x0x80A4 */
155+
/* SATA PHY config for register block 2 0x8065 .. 0x80A4 */
156156
static const u8 sata_phy_config2[] = {
157157
0xAA, 0x00, 0x4C, 0xC9, 0xC9, 0x07, 0x07, 0x18,
158158
0x18, 0x05, 0x0C, 0x10, 0x00, 0x10, 0x00, 0xFF,

0 commit comments

Comments
 (0)