mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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:
parent
2b00b2adc4
commit
85ea45eedb
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue