From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754795AbbISKEf (ORCPT ); Sat, 19 Sep 2015 06:04:35 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:34699 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754034AbbISKEe (ORCPT ); Sat, 19 Sep 2015 06:04:34 -0400 Date: Sat, 19 Sep 2015 11:04:00 +0100 From: Lee Jones To: Linus Walleij Cc: Samuel Ortiz , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: stmpe: PWM on 24xx has altfunc 1 Message-ID: <20150919100400.GI3218@x1> References: <1440712202-19125-1-git-send-email-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1440712202-19125-1-git-send-email-linus.walleij@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Aug 2015, Linus Walleij wrote: > 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 > --- > drivers/mfd/stmpe.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. > diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c > index 2ea19dd6d4d1..75152a881e79 100644 > --- a/drivers/mfd/stmpe.c > +++ b/drivers/mfd/stmpe.c > @@ -823,6 +823,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: -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog