diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-03 21:10:32 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-12 20:11:13 +0400 |
commit | 346978980a781a5b434c48531cf29cadf5b83999 (patch) | |
tree | c2f80a16e77aaca02dff57fc47bb61bce97f00df /drivers/mfd/wm8994.h | |
parent | c3f1386171a100d27d9fb978f474a6a330888af5 (diff) |
mfd: Initialise WM8994 register cache after reading chip ID registers
The different devices handled by the WM8994 can be distinguished using
their ID registers so we don't need to rely on the user having registered
the device correctly. Instead do the initial regmap setup with a minimal
configuration only supporting physical I/O and then configure the cache
once we have identified the device.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/wm8994.h')
-rw-r--r-- | drivers/mfd/wm8994.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/wm8994.h b/drivers/mfd/wm8994.h index bf2bdc1ede38..6f39a84eeadf 100644 --- a/drivers/mfd/wm8994.h +++ b/drivers/mfd/wm8994.h @@ -20,5 +20,6 @@ extern struct regmap_config wm1811_regmap_config; extern struct regmap_config wm8994_regmap_config; extern struct regmap_config wm8958_regmap_config; +extern struct regmap_config wm8994_base_regmap_config; #endif |