Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] media: coda: Fix DT driver data pointer for i.MX27

The data pointer should point to DT data, and not to the ID
array.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: stable@vger.kernel.org

authored by

Alexander Shiyan and committed by
Mauro Carvalho Chehab
7b0dd9e6 19c2813c

+1 -1
+1 -1
drivers/media/platform/coda.c
··· 3109 3109 3110 3110 #ifdef CONFIG_OF 3111 3111 static const struct of_device_id coda_dt_ids[] = { 3112 - { .compatible = "fsl,imx27-vpu", .data = &coda_platform_ids[CODA_IMX27] }, 3112 + { .compatible = "fsl,imx27-vpu", .data = &coda_devdata[CODA_IMX27] }, 3113 3113 { .compatible = "fsl,imx53-vpu", .data = &coda_devdata[CODA_IMX53] }, 3114 3114 { /* sentinel */ } 3115 3115 };