diff options
author | Ronald Wahl <[email protected]> | 2014-11-19 16:37:27 +0100 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2014-11-20 13:50:17 -0600 |
commit | b2ba27a5c56ff7204d8a8684893d64d4afe2cee5 (patch) | |
tree | 0531ca8bcf629ac59cda80933a3b82c772ea576a /lib/pm-notifier-error-inject.c | |
parent | cf0b1d1309790fbae27e7276ae4cb30c38ac9fc8 (diff) |
usb: gadget: at91_udc: move prepare clk into process context
Commit 7628083227b6bc4a7e33d7c381d7a4e558424b6b (usb: gadget: at91_udc:
prepare clk before calling enable) added clock preparation in interrupt
context. This is not allowed as it might sleep. Also setting the clock
rate is unsafe to call from there for the same reason. Move clock
preparation and setting clock rate into process context (at91udc_probe).
Signed-off-by: Ronald Wahl <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Acked-by: Boris Brezillon <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: <[email protected]> # v3.17+
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions