aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHonghui Zhang <[email protected]>2018-10-15 16:08:56 +0800
committerLorenzo Pieralisi <[email protected]>2018-10-17 15:36:17 +0100
commit3828d60fd2ef99f97a677c1f95af2ab3e65e2576 (patch)
tree57d2c65fca775d50058b8c16baa711988bd2e908 /tools/perf/util/trace-event-scripting.c
parent57cb3152b360eabf30d498515dcf9049f3c7b9df (diff)
PCI: mediatek: Fixup MSI enablement logic by enabling MSI before clocks
Commit 43e6409db64d ("PCI: mediatek: Add MSI support for MT2712 and MT7622") added MSI support but enabled MSI in the wrong place, at a step in the probe sequence where clocks were not still enabled. Fix this issue by calling mtk_pcie_enable_msi() in mtk_pcie_startup_port_v2() since clocks are enabled when mtk_pcie_startup_port_v2() is called. To avoid forward declaration of mtk_pcie_enable_msi(), move the mtk_pcie_startup_port_v2() function definition in the file. Fixes: 43e6409db64d ("PCI: mediatek: Add MSI support for MT2712 and MT7622") Signed-off-by: Honghui Zhang <[email protected]> [[email protected]: squashed commit and adapted log] Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Ryder Lee <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions