From: Linus Walleij Date: Thu, 8 May 2014 21:16:37 +0000 (+0200) Subject: mfd: stmpe: mask off unused blocks properly X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~6^2~69^6~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b69d2ad6748e2cd3a6b93fca074adc31f56e4436;p=pandora-kernel.git 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 --- Reading git-diff-tree failed