diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2020-06-28 07:23:12 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-26 16:34:25 +0300 |
commit | b16b67689baa01a5616b651356df7ad3e47a8763 (patch) | |
tree | 5d6467925246b3b045b59a22e04a8a17e61378b3 /drivers/watchdog/rn5t618_wdt.c | |
parent | b4d76c28eca369b8105fe3a0a9f396e3fbcd0dd5 (diff) | |
download | linux-b16b67689baa01a5616b651356df7ad3e47a8763.tar.xz |
macintosh/via-macii: Remove read_done state
The driver state machine may enter the 'read_done' state when leaving the
'idle' or 'reading' state. This transition is pointless, as is the extra
interrupt it requires. The interrupt is produced by the transceiver
(even when it has no data to send) because an extra EVEN/ODD toggle
was signalled by the driver. Drop the extra state to simplify the code.
Fixes: 1da177e4c3f41 ("Linux-2.6.12-rc2") # v5.0+
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/0253194363af4426f9788796811a6a29fb87c713.1593318192.git.fthain@telegraphics.com.au
Diffstat (limited to 'drivers/watchdog/rn5t618_wdt.c')
0 files changed, 0 insertions, 0 deletions