staging: slicoss: avoid PCI write posting
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Fri, 22 Jul 2016 21:09:16 +0000 (23:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 15:59:45 +0000 (17:59 +0200)
commitbc894318e8ea9fbfd2cffe3f003d6e3c50112f3d
tree8212edb073bf4ff85dac9260d166f1a490a287c2
parentb200da6744addf5c1ed7dbb8a70cfff8c4e2368e
staging: slicoss: avoid PCI write posting

Introduce the function slic_flush_write() which reads from the HOSTID
register and can be used to avoid PCI write posting. Use the function at
several critical places in the code.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slic.h
drivers/staging/slicoss/slicoss.c