commit | 8ca2aa9c59c39805c746b137c041576838f3de92 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Oct 01 17:46:37 2010 -0700 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sat Oct 02 14:23:57 2010 -0700 |
tree | c30d7658b57106c84e8ef84223c4000b146b7c37 | |
parent | 7711308ae68900a047782f5fe1bd46196ea8be0e [diff] |
ASoC: Put WM8962 GPIO2/3 into GPIO mode when configuring platform data too GPIO2 and GPIO3 on the WM8962 are MFPs and need to be put into GPIO mode before the GPIO block can be used to control them. We're already doing this when used via gpiolib, factor out the code for use when setting static configurations via platform data as well. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>