Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2d2bf1b authored by Tony Truong's avatar Tony Truong
Browse files

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: default avatarTony Truong <truong@codeaurora.org>
parent 54d02587
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4741,7 +4741,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",