aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/atmel/atmel-sama5d2-isc.c
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2021-04-13 12:57:14 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-06-08 13:08:42 +0200
commit629de518e6f3b81bc1d7486a9b2e0a8fb100e18e (patch)
tree08a3186625c155d93a980d6c0e008b9d8fb55ea5 /drivers/media/platform/atmel/atmel-sama5d2-isc.c
parentmedia: atmel: atmel-isc: add support for version register (diff)
downloadlinux-dev-629de518e6f3b81bc1d7486a9b2e0a8fb100e18e.tar.xz
linux-dev-629de518e6f3b81bc1d7486a9b2e0a8fb100e18e.zip
media: atmel: atmel-isc: add his_entry to register offsets
Add his_entry to the reg offsets struct. This will allow different products to have a different reg offset for this particular module. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform/atmel/atmel-sama5d2-isc.c')
-rw-r--r--drivers/media/platform/atmel/atmel-sama5d2-isc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/atmel/atmel-sama5d2-isc.c b/drivers/media/platform/atmel/atmel-sama5d2-isc.c
index 059dc5d3c664..72cb91b4b8ba 100644
--- a/drivers/media/platform/atmel/atmel-sama5d2-isc.c
+++ b/drivers/media/platform/atmel/atmel-sama5d2-isc.c
@@ -239,6 +239,7 @@ static int atmel_isc_probe(struct platform_device *pdev)
isc->offsets.his = ISC_SAMA5D2_HIS_OFFSET;
isc->offsets.dma = ISC_SAMA5D2_DMA_OFFSET;
isc->offsets.version = ISC_SAMA5D2_VERSION_OFFSET;
+ isc->offsets.his_entry = ISC_SAMA5D2_HIS_ENTRY_OFFSET;
/* sama5d2-isc - 8 bits per beat */
isc->dcfg = ISC_DCFG_YMBSIZE_BEATS8 | ISC_DCFG_CMBSIZE_BEATS8;