diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2020-11-20 15:39:56 +1100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2020-12-07 10:48:16 +0100 |
commit | 10199e90ee20e68859f8128331ec8d85b036d349 (patch) | |
tree | a7c4ca2cff5a739479e61e38a7b2b0491bc4a9e9 /block/bfq-cgroup.c | |
parent | 2c9cfbadfa234b03473f1ef54e6f4772cc07a371 (diff) | |
download | linux-stable-10199e90ee20e68859f8128331ec8d85b036d349.tar.gz linux-stable-10199e90ee20e68859f8128331ec8d85b036d349.tar.bz2 linux-stable-10199e90ee20e68859f8128331ec8d85b036d349.zip |
macintosh/adb-iop: Send correct poll command
The behaviour of the IOP firmware is not well documented but we do know
that IOP message reply data can be used to issue new ADB commands.
Use the message reply to better control autopoll behaviour by sending
a Talk Register 0 command after every ADB response, not unlike the
algorithm in the via-macii driver. This poll command is addressed to
that device which last received a Talk command (explicit or otherwise).
Cc: Joshua Thompson <funaho@jurai.org>
Fixes: 32226e817043 ("macintosh/adb-iop: Implement idle -> sending state transition")
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Link: https://lore.kernel.org/r/58bba4310da4c29b068345a4b36af8a531397ff7.1605847196.git.fthain@telegraphics.com.au
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'block/bfq-cgroup.c')
0 files changed, 0 insertions, 0 deletions