mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
1fb5a4f931d7cd1c05c1c21d691bbcee99ba03cc
pci_client abstraction supports notification to application. Each endpoint has to register with pci_client for notification which return link_event_id after registration. link_event_id is index in lookup table with total size as MAX_ENDPOINT. This link_event_id is allocated sequential and does not match with ep_id which is endpoint index with max as MAX_ENDPOINT. stream-extension is not aware about link_event_id and uses ep_id for notification which leads to mismatch in look up table finally dropping notification. Registering for link event in sequential manner does not help much as registration against ep_id will make lookup table and endpoint database one-to-one mapping. Update endpoint registration for link event based on ep_id and use ep_id in lookup table for notification purpose. Bug 4913236 Change-Id: I75bfdbf0e8e5b7b11b0cca7dc266f01f492362f6 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3233789 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com> Tested-by: Janardhan Reddy AnnapuReddy <jreddya@nvidia.com>
Description
No description provided