]> git.baikalelectronics.ru Git - kernel.git/commit
macintosh/adb-iop: Implement sending -> idle state transition
authorFinn Thain <fthain@telegraphics.com.au>
Sat, 30 May 2020 23:17:03 +0000 (09:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:24 +0000 (23:34 +1000)
commit4836a27e8d740314d58db9936f0f6b5a922111d1
tree78bd47948fd0fc730d35695423d80af562d7a27c
parent9d39d10bbba5876d9dc211686f6bfe2bcd2cb3cf
macintosh/adb-iop: Implement sending -> idle state transition

On leaving the 'sending' state, proceed to the 'idle' state if no reply is
expected. Drop redundant test for adb_iop_state == sending && current_req.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/6991996dd4aaf0b52cfd650172bf0f6fbe37a452.1590880623.git.fthain@telegraphics.com.au
drivers/macintosh/adb-iop.c