ntb_hw_switchtec: Fix a minor issue in config_req_id_table()
authorKelvin Cao <kelvin.cao@microchip.com>
Fri, 24 Dec 2021 01:23:34 +0000 (17:23 -0800)
committerJon Mason <jdmason@kudzu.us>
Tue, 11 Jan 2022 20:38:59 +0000 (15:38 -0500)
commit8cd778650ae223cd306588042b55d0290ef81037
treea8fc6755295d3cdb66e9cf0dcb3611ed9088dfde
parent1d3cfc2835c1754d19a743dc346a9e58cf0c07c0
ntb_hw_switchtec: Fix a minor issue in config_req_id_table()

The req_id_table_size field is 16-bit wide, use ioread16() to read the
value.

Signed-off-by: Kelvin Cao <kelvin.cao@microchip.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/mscc/ntb_hw_switchtec.c