]> git.baikalelectronics.ru Git - kernel.git/commit
macintosh/via-macii: Synchronous bus reset
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 12 Sep 2018 00:18:44 +0000 (20:18 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 8 Oct 2018 11:53:10 +0000 (22:53 +1100)
commit16f2085d6779ca6592f220b7a45ab3fda0e3e4f6
treeec8c722b4e2a581cb83f1105464a5a83746e6ca1
parent722bbc11de60412472c3a122e46fb0c5c56c8020
macintosh/via-macii: Synchronous bus reset

Make the reset operation synchronous, like the other ADB drivers.
The reset request is static data but callers may not know that.
This way the struct is not in use when the reset method returns.

Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/via-macii.c