raw/ifpga/base: clear pending bit
authorTianfei Zhang <tianfei.zhang@intel.com>
Thu, 14 Nov 2019 09:02:51 +0000 (17:02 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commit5548d7e5a24520690617941f915aff36af38494d
tree5839736b2f0e83e3ed3792fffb4e66d9ff70639e
parent9bf033217110c52ed0d7e9a380207da44d2fb4a5
raw/ifpga/base: clear pending bit

Every defined bit in FME_ERROR0 is RW1C. Other reserved bits are always
0 when readout and it will plan to be RW1C if needed in future.
So it is safe just write the read back value to clear all the errors.

Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
Signed-off-by: Andy Pei <andy.pei@intel.com>
drivers/raw/ifpga/base/ifpga_defines.h
drivers/raw/ifpga/base/ifpga_fme_error.c
drivers/raw/ifpga/base/opae_osdep.h