mirror of https://gitee.com/openkylin/linux.git
orinoco: Annotate ezusb_read_pda()
ezusb_read_pda() is invoked via ->read_pda() while firmware is loaded in preemtible context. Use ezusb_req_ctx_wait_compl() in ezusb_read_pda(). 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-7-bigeasy@linutronix.de
This commit is contained in:
parent
69476b25a4
commit
154f2bae9b
|
@ -1157,7 +1157,7 @@ static int ezusb_read_pda(struct hermes *hw, __le16 *pda,
|
|||
|
||||
return ezusb_access_ltv(upriv, ctx, sizeof(data), &data,
|
||||
EZUSB_FRAME_CONTROL, &pda[2], pda_len - 4,
|
||||
NULL, ezusb_req_ctx_wait);
|
||||
NULL, ezusb_req_ctx_wait_compl);
|
||||
}
|
||||
|
||||
static int ezusb_program_init(struct hermes *hw, u32 entry_point)
|
||||
|
|
Loading…
Reference in New Issue