aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2012-07-24 14:13:58 +0200
committerJean Delvare <[email protected]>2012-07-24 14:13:58 +0200
commit6cad93c4bbd62ecfa2e1b3a95c1ac4f6f27764c7 (patch)
tree1b9a3e650be2333d68fe61673c09daf925c16e76 /net/lapb/lapb_in.c
parent37af871112e1dec1e39dfac782f0be5926be1c88 (diff)
i2c-i801: Consolidate polling
(Based on earlier work by Daniel Kurtz.) Come up with a consistent, driver-wide strategy for event polling. For intermediate steps of byte-by-byte block transactions, check for BYTE_DONE or any error flag being set. At the end of every transaction (regardless of PEC being used), check for both BUSY being cleared and INTR or any error flag being set. This ensures proper action for all transaction types. Signed-off-by: Jean Delvare <[email protected]> Cc: Daniel Kurtz <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions