msm: pcie: fix user info in client's event callback

Clients store their private data in user within event structure
and not in notify structure. Thus update the callback to point
to the correct user info.

Change-Id: I938b135443d66b9451cead35d508bad9a4f685f8
Signed-off-by: Tony Truong <truong@codeaurora.org>
This commit is contained in:
Tony Truong 2020-04-03 18:13:00 -07:00 • committed by Gerrit - the friendly Code Review server
commit 85ea45eedb

View file

@ -4692,7 +4692,7 @@ static void msm_pcie_notify_client(struct msm_pcie_dev_t *dev,
struct msm_pcie_notify client_notify;
client_notify.event = event;
client_notify.user = notify->user;
client_notify.user = dev->event_reg->user;
client_notify.data = notify->data;
client_notify.options = notify->options;
PCIE_DUMP(dev, "PCIe: callback RC%d for event %d\n",