mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
orinoco: Annotate ezusb_write_ltv()
All invocation of ezusb_write_ltv() happen via ->write_ltv() and are performed under the orinoco_lock() which disables BH. Use ezusb_req_ctx_wait_poll() for ezusb_write_ltv() because it must not sleep. 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-8-bigeasy@linutronix.de
This commit is contained in:
parent
154f2bae9b
commit
39628fe48c
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,7 @@ static int ezusb_write_ltv(struct hermes *hw, int bap, u16 rid,
|
||||||
u16 length, const void *data)
|
u16 length, const void *data)
|
||||||
{
|
{
|
||||||
return __ezusb_write_ltv(hw, bap, rid, length, data,
|
return __ezusb_write_ltv(hw, bap, rid, length, data,
|
||||||
ezusb_req_ctx_wait);
|
ezusb_req_ctx_wait_poll);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ezusb_read_ltv(struct hermes *hw, int bap, u16 rid,
|
static int ezusb_read_ltv(struct hermes *hw, int bap, u16 rid,
|
||||||
|
|
Loading…
Reference in a new issue