diff options
author | Peter Chen <peter.chen@freescale.com> | 2010-10-25 15:39:24 +0800 |
---|---|---|
committer | Alan Tull <alan.tull@freescale.com> | 2010-10-26 15:20:06 -0500 |
commit | 8238957cb2223f0fe46e8d32cdb891d5433ec830 (patch) | |
tree | 0ee63757a399d8d7c681bc04df24e8eea21bdc75 /arch/arm/mach-mx2 | |
parent | 3c9ae8408b62e6eda1041031af411c2007ca7f43 (diff) |
ENGR00132894 usb: clk_get should not be called at IRQ context
The old implementation will clk_get/clk_put for each clk on/off operation.
As some clk on/off operation would be IRQ context.
So, it will ocurr the error like "schedule at atomic context".
The new implementation will only call clk_get at usb initialization,
and clk_put at usb de-initialization.
The driver's clock on/off will only call clk_enable/clk_disable.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx2')
0 files changed, 0 insertions, 0 deletions