commit | 31c4fa3442570d001f58303dea36d81693bc199c | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@freescale.com> | Fri May 23 16:41:28 2014 +0800 |
committer | Thierry Reding <thierry.reding@gmail.com> | Thu Aug 07 13:22:44 2014 +0200 |
tree | 4323d917455acb714a921c9ba9a2e9d1ee922f63 | |
parent | 65accd87381ed96bf8893124b149bae08edd2740 [diff] |
pwm: imx: set can_sleep flag for imx_pwm The .config() hook imx_pwm_config() calls clk APIs like clk_prepare() and clk_get_rate(), which might sleep, so we need to set can_sleep flag on pwm_chip. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>