baseband/fpga_lte_fec: fix polling of MMIO register
authorNicolas Chautru <nicolas.chautru@intel.com>
Tue, 22 Oct 2019 13:16:17 +0000 (06:16 -0700)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 23 Oct 2019 14:57:06 +0000 (16:57 +0200)
commite12aabced4a9db018b3340a084568a76a217872b
tree60cbce747e09b713434fbfaae8d370ab771a8bd8
parent6d608a6ccdf18f13f26b01f9889bda85caa25323
baseband/fpga_lte_fec: fix polling of MMIO register

Polling of MMIO register could misreport the actual value
set dynamically in hardware as the variable was not set explicitly
to volatile integer.

Fixes: efd453698c49 ("baseband/fpga_lte_fec: add driver for FEC on FPGA")
Cc: stable@dpdk.org
Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
drivers/baseband/fpga_lte_fec/fpga_lte_fec.c