summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBanajit Goswami <bgoswami@codeaurora.org>2017-04-10 19:56:25 -0700
committerBanajit Goswami <bgoswami@codeaurora.org>2017-04-13 00:46:31 -0700
commit860a024bf4ef43fe787cc5319364054da686d89f (patch)
treeb70f6781bb752b44cde106f4bb768aaaa59b7cbe /tools/perf/scripts/python
parent95f99098f524f49e4be3035e9fbbbc7389687a72 (diff)
soc: q6dspv2: apr: fix client registration refcount
Audio Packet Router (APR) is used by multiple audio services to communicate between APSS and ADSP. These audio services registers for service level APR communication (port 0xFFFFFFFF), or for session level APR communication (using port 0x101 etc.). The services might choose to call apr_register for any port at random. The expectation is that the refcounting for the number of ports registered with APR for any specific service, is handled irrespective of the order in which registrations are done. The current logic fails to handle the refcounting when apr_register is called for 0xFFFFFFFF before other session based ports. Fix this correctly using the service count (svc_cnt) variable in apr_svc. CRs-fixed: 2022490 Change-Id: I2fcd1269facf24d509db0d90314e0d2545a2ad67 Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions