]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit40a9a0e99161dee66ed668a15519d174bcb3143f
tree90edfba283a4679650e5a9e0d68c6122d12b69a9
parente09e61d90c3f31481e356fa7c07d5804366c9105
mfd: Use bulk read to fill WM8350 register cache

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>
drivers/mfd/wm8350-core.c