media: hantro: Use vb2_find_buffer
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Mon, 11 Jul 2022 21:11:38 +0000 (22:11 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 17 Jul 2022 10:13:07 +0000 (11:13 +0100)
commitd642f7c842fc863ac213865be4bf109a53d82d60
tree401c8a713e1939641da9999dd9f5a592c482a2a0
parent5b25e5432b8eea63bc862c3feed7771cf20c7d99
media: hantro: Use vb2_find_buffer

Use the newly introduced vb2_find_buffer API to get a vb2_buffer
given a buffer timestamp.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/hantro/hantro_drv.c
drivers/staging/media/hantro/hantro_g2_vp9_dec.c