commit | 9dfd338198bec67ebc82ed363078f9d8aa74ec3e | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Feb 04 22:43:55 2009 +0100 |
committer | Samuel Ortiz <samuel@sortiz.org> | Sun Apr 05 00:32:19 2009 +0200 |
tree | 90edfba283a4679650e5a9e0d68c6122d12b69a9 | |
parent | 22e2df7d5ff50e5a62d4945b13c83525a2617ef5 [diff] |
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>