NTB: set peer_sta within event handler itself
authorArindam Nath <arindam.nath@amd.com>
Wed, 5 Feb 2020 15:54:23 +0000 (21:24 +0530)
committerJon Mason <jdmason@kudzu.us>
Fri, 13 Mar 2020 14:04:20 +0000 (10:04 -0400)
commit2465b87ce36ea2dbd97e5fb58a0efd284c9f687e
tree5e03632ca5569e3fb273f320cd3a7ffd43a4aee7
parent5cafa48502c833fa175d2d16a26d1b4e0702aa74
NTB: set peer_sta within event handler itself

amd_ack_smu() should only set the corresponding
bits into SMUACK register. Setting the bitmask
of peer_sta should be done within the event handler.
They are two different things, and so should be
handled differently and at different places.

Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/amd/ntb_hw_amd.c