diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-10-01 07:56:27 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-02 15:19:45 +0200 |
commit | 0f69c897f378bf975c519b1d2455c03d06477dfa (patch) | |
tree | 18724ed7024cd3e2b7b45826a1091aea50664bf3 /lib | |
parent | regulator: fix typo in current units (diff) | |
download | linux-0f69c897f378bf975c519b1d2455c03d06477dfa.tar.xz linux-0f69c897f378bf975c519b1d2455c03d06477dfa.zip |
regulator: max8649 - fix setting extclk_freq
The SYNC bits are BIT6 and BIT7 of MAX8649_SYNC register.
pdata->extclk_freq could be [0|1|2].
(MAX8649_EXTCLK_26MHZ|MAX8649_EXTCLK_13MHZ|MAX8649_EXTCLK_19MHZ)
It requires to left shift 6 bits to properly set extclk_freq.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions