Commit 5f7df57e authored by Dan Carpenter's avatar Dan Carpenter Committed by Samuel Ortiz

mfd: Off by one calculating size for timberdale

I'm pretty sure that it should be + 1 here.  It's an off by one, because
we start counting at zero.
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarRichard Röjfors <richard.rojfors@pelagicore.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent f52e62dc
......@@ -66,7 +66,7 @@
#define CHIPCTLOFFSET 0x800
#define CHIPCTLEND 0x8ff
#define CHIPCTLSIZE (CHIPCTLEND - CHIPCTLOFFSET)
#define CHIPCTLSIZE (CHIPCTLEND - CHIPCTLOFFSET + 1)
#define INTCOFFSET 0xc00
#define INTCEND 0xfff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment