]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit247d3b6de85751fdaa25ea1ae6041346392d4ef3
treea8fc6755295d3cdb66e9cf0dcb3611ed9088dfde
parent5ca8486ecd81e1ad4a844ee0f14f0831e2abba66
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