media: rkisp1: cap: initialize dma buf address in 'buf_init' cb
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Fri, 25 Jun 2021 08:23:09 +0000 (10:23 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 22 Jul 2021 12:01:54 +0000 (14:01 +0200)
commitf003d635a8aede9d0e44fb1255ff63a1b2d7eb6e
tree73e1ee3cb55688d81c38caf63af7c05401f22f12
parent07e59d91e70107803630c1bbed0837f0cf32eed7
media: rkisp1: cap: initialize dma buf address in 'buf_init' cb

Initializing the dma addresses of the capture buffers can
move to the 'buf_init' callback, since it is enough to do
it once for each buffer and not every time it is queued.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/rockchip/rkisp1/rkisp1-capture.c