ENGR00133726 vpu: make clk_disable() be called only in process context
authorSammy He <r62914@freescale.com>
Tue, 16 Nov 2010 14:12:14 +0000 (22:12 +0800)
committerMatt Sealey <matt@genesi-usa.com>
Sat, 22 Jan 2011 06:40:57 +0000 (00:40 -0600)
commit5bcde1267659cc8862618b32a5639d307e11e1b6
tree172d169623d4f51200259c811fb67ec06fce7cbe
parent8fd5ccb572e6193290d29bfc1aa1825167969737
ENGR00133726 vpu: make clk_disable() be called only in process context

Voltage scaling is done using the Regulator API, which talks to PMIC
using SPI. SPI code can sleep and hence clk_[en|dis]able() cannot
be called in an ISR/tasklet etc contexts.

Signed-off-by: Sammy He <r62914@freescale.com>
drivers/mxc/vpu/mxc_vpu.c