diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2020-11-13 22:22:46 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-11-24 17:01:11 +0200 |
commit | 46233f77860480f34de658aa785e2b4b8fef6fdf (patch) | |
tree | cd622692d343b1a97445aeb48643e35551c14220 /include/trace | |
parent | 29b2fe3f6f2071ba5b0dab709e3ffbf0eaa2a1e4 (diff) |
orinoco: Annotate ezusb_init()
ezusb_init() is always invoked in preemptible context during device
probe. Only orinoco_up() -> orinoco_reinit_firmware() may invoke the
function from atomic context but this is never used for the USB
interface.
Use ezusb_req_ctx_wait_compl() for the ezusb_write_ltv() and
ezusb_docmd_wait() invocations from within ezusb_init().
Preserve the generic versions which have still other user via the
callback.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201113212252.2243570-5-bigeasy@linutronix.de
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions