mfd: Use bulk read to fill WM8350 register cache
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 4 Feb 2009 21:43:55 +0000 (22:43 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Sat, 4 Apr 2009 22:32:19 +0000 (00:32 +0200)
Some I2C controllers have high overheads for setting up I2C operations
which makes the register cache setup on startup excessively slow since
it does a lot of small transactions. Reduce this overhead by doing a
bulk read of the entire register bank and filtering out what we don't
need later.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>

No differences found