commit | b69d2ad6748e2cd3a6b93fca074adc31f56e4436 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu May 08 23:16:37 2014 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Fri May 09 10:51:06 2014 +0100 |
tree | 726e03c7c6cb7f51e23faee5010ed4ddf90551d9 | |
parent | 89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd [diff] |
mfd: stmpe: mask off unused blocks properly The STMPE driver would just read/modify/write the system control register on the STMPE1601, meaning it would not properly mask off the PWM block, which remained active if it was on at boot time. This makes sure the blocks are always masked off if they were active on boot, saving some power. Also rename the inconsistenty named STMPE1601 define for the PWM block activation. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>