Chuanhong Guo 9c19c35d1e ath79: restore pin state on probe for ar934x-spi
If bootloader doesn't terminate its last spi operation properly
before starting kernel, our first transfer in kernel becomes a
continuous transfer to that request instead of a new one.
Fix this flaw by restoring IOC register, which restored all pin
state to default.

Fixes: ebf0d8dade ("ath79: add new ar934x spi driver")
Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-02-10 11:59:20 +08:00
..
2020-02-04 18:10:13 +01:00
2020-01-24 13:14:33 +01:00
2019-10-19 13:16:57 +02:00
2020-02-04 18:10:13 +01:00
2019-11-29 09:59:49 +01:00
2020-02-04 18:10:13 +01:00
2020-02-04 18:10:13 +01:00
2020-01-24 18:52:41 +01:00
2020-02-04 18:10:13 +01:00
2020-01-15 22:35:48 +01:00
2020-02-04 18:10:13 +01:00
2019-12-24 17:45:54 +01:00
2019-12-10 09:50:42 +01:00
2020-02-04 18:10:13 +01:00
2019-12-31 01:16:17 +01:00
2020-02-04 18:10:13 +01:00
2019-12-24 15:34:43 +01:00