summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVivek Pernamitta <quic_vpernami@quicinc.com>2023-04-04 15:14:16 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2023-04-10 18:41:38 +0530
commit4308c6878acfb58eda46483644b516abd732b6dd (patch)
tree0fa8dfb1b4691aaad1db0f631b83844163478d35 /tools/perf/scripts/python/export-to-postgresql.py
parentc2dbd34f6a9558b7e99849d4f73eb9b95a45a83c (diff)
bus: mhi: host: Avoid ringing EV DB if there are no elements to process
Currently, mhi_process_data_event_ring()/mhi_process_ctrl_ev_ring() APIs are ringing DB even if there are no ring elements to process. This could cause the device to process the DB event in the absence of ring elements. So to avoid this unnecessary device processing, let's ring event DB only if there are any ring elements to process. Signed-off-by: Vivek Pernamitta <quic_vpernami@quicinc.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/1680601458-9105-1-git-send-email-quic_vpernami@quicinc.com [mani: massaged the commit message a bit] Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions