mfd: Mark WM1811 GPIO6 register volatile for later revisions
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 1 Dec 2011 13:55:49 +0000 (13:55 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 12 Dec 2011 16:11:49 +0000 (00:11 +0800)
commit7ed5849c2861faf9c13f027868f635bd782a50e5
treee95a181de00ee76fac4e574993dea738638b5589
parent19f9557174d61fcfe132a6846a83c36437ff014e
mfd: Mark WM1811 GPIO6 register volatile for later revisions

For later chip revisions the WM1811 GPIO6 register is always volatile so
store the device revision when initialising the driver and then check at
runtime if we're running on a newer device.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8994-core.c
drivers/mfd/wm8994-regmap.c
include/linux/mfd/wm8994/core.h