io: change outX() to have their own IO barrier overrides
authorSinan Kaya <okaya@codeaurora.org>
Thu, 5 Apr 2018 13:09:12 +0000 (09:09 -0400)
committerArnd Bergmann <arnd@arndb.de>
Fri, 6 Apr 2018 10:02:04 +0000 (12:02 +0200)
commita7851aa54c0cdd2f62457b72aee0da5d5586e514
tree0fccafba788a172ee6b65f9e5fc49eb5551538a9
parent755bd04aaf4bf7c49ce8aad2677ea4d14271fc46
io: change outX() to have their own IO barrier overrides

Open code writeX() inside outX() so that outX() variants have their own
overrideable Port IO barrier combinations as __io_pbw() and __io_paw() for
actions to be taken before port IO and after port IO write.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/io.h