aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2023-08-24 03:38:58 +0200
committerHans Verkuil <[email protected]>2023-09-27 09:39:55 +0200
commit88d4b23a629ebd34f682f770cb6c2116c851f7b8 (patch)
tree89c814f6ea76b25fe3b847331eddd4f938d1d875 /tools/perf/scripts/python/bin
parent0c7af09408b3e4bb7e9a3b430a93473494d9b748 (diff)
media: hantro: Check whether reset op is defined before use
The i.MX8MM/N/P does not define the .reset op since reset of the VPU is done by genpd. Check whether the .reset op is defined before calling it to avoid NULL pointer dereference. Note that the Fixes tag is set to the commit which removed the reset op from i.MX8M Hantro G2 implementation, this is because before this commit all the implementations did define the .reset op. Fixes: 6971efb70ac3 ("media: hantro: Allow i.MX8MQ G1 and G2 to run independently") Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Tested-by: Chen-Yu Tsai <[email protected]> Reviewed-by: Adam Ford <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions