mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
mfd: stmpe: PWM on 24xx has altfunc 1
On the STMPE2401 and STMPE2401 altfunction 1 corresponds to the PWM channels. This oneliner was missing in the case-switch, making it impossible to enable the PWM channel output. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
75c08f17ec
commit
f6d1034139
1 changed files with 1 additions and 0 deletions
|
@ -795,6 +795,7 @@ static int stmpe24xx_get_altfunc(struct stmpe *stmpe, enum stmpe_block block)
|
|||
return 2;
|
||||
|
||||
case STMPE_BLOCK_KEYPAD:
|
||||
case STMPE_BLOCK_PWM:
|
||||
return 1;
|
||||
|
||||
case STMPE_BLOCK_GPIO:
|
||||
|
|
Loading…
Reference in a new issue