aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2021-01-17 23:21:38 +0100
committerMauro Carvalho Chehab <[email protected]>2021-01-27 13:45:24 +0100
commita04e187d231086a1313fd635ac42bdbc997137ad (patch)
treeb99ee0044041ddd706e9af71c561c431c437d991 /tools/perf/scripts/python/flamegraph.py
parentb2de3643c5024fc4fd128ba7767c7fb8b714bea7 (diff)
media: mtk-vcodec: fix argument used when DEBUG is defined
When DEBUG is defined this error occurs drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c:306:41: error: ā€˜i’ undeclared (first use in this function) mtk_v4l2_debug(2, "reg[%d] base=0x%p", i, dev->reg_base[VENC_SYS]); Reviewing the old line mtk_v4l2_debug(2, "reg[%d] base=0x%p", i, dev->reg_base[i]); All the i's need to be changed to VENC_SYS. Fix a similar error for VENC_LT_SYS. Fixes: 0dc4b3286125 ("media: mtk-vcodec: venc: support SCP firmware") Signed-off-by: Tom Rix <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions