pwm: imx: Fix the macro MX3_PWMCR_PRESCALER(x) definition
authorLiu Ying <Ying.Liu@freescale.com>
Wed, 28 May 2014 10:50:11 +0000 (18:50 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 25 Aug 2014 13:46:28 +0000 (15:46 +0200)
commitbd59bdc898623e6c948a9f900250ce7343cf9012
treebbdb9e00203a1b4e246b42d75ff7c188d38ceb99
parent533acc0e8df7d6553f11cf91c177211cb6037968
pwm: imx: Fix the macro MX3_PWMCR_PRESCALER(x) definition

This patch adds missing parentheses around the argument of the macro
MX3_PWMCR_PRESCALER(x) to avoid any potential macro expansion issue.

Reported-by: Lothar Waßmann <LW@KARO-electronics.de>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <shawn.guo@freescale.com>
Cc: Lothar Waßmann <LW@KARO-electronics.de>
Cc: linux-pwm@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-imx.c
This page took 0.029286 seconds and 5 git commands to generate.