media: cedrus: Use helpers to access capture queue
authorJernej Skrabec <jernej.skrabec@siol.net>
Sat, 26 Oct 2019 07:27:52 +0000 (09:27 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 9 Nov 2019 07:45:19 +0000 (08:45 +0100)
commit1fd50a2c294457508f06b8b631d01a58de81cdd2
treeb6b4bb577ba962f98fabaeec8526200b4162e3ed
parent61ad123318c28679b8846baab0df9240c29c21c9
media: cedrus: Use helpers to access capture queue

Accessing capture queue structue directly is not safe. Use helpers for
that.

Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/sunxi/cedrus/cedrus.h
drivers/staging/media/sunxi/cedrus/cedrus_h264.c