diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2011-05-12 21:32:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-13 20:41:35 +0200 |
commit | 1dbf53a28262aa89ecbe653e8a9127c0baef9bc4 (patch) | |
tree | 39936f2646f43f242b920c35eed1286bd18f7069 /drivers/usb/c67x00 | |
parent | be2net: handle signal reception while waiting for POST (diff) | |
download | linux-1dbf53a28262aa89ecbe653e8a9127c0baef9bc4.tar.xz linux-1dbf53a28262aa89ecbe653e8a9127c0baef9bc4.zip |
be2net: fix mbox polling for signal reception
Sending mbox cmds require multiple steps of writing to the DB register and polling
for an ack. Gettting interrupted in the middle by a signal breaks the mbox protocol.
Use msleep() to not get interrupted.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/c67x00')
0 files changed, 0 insertions, 0 deletions