linux/drivers/media/platform/coda
Fabio Estevam a874aabef9 media: coda/imx-vdoa: Check for platform_get_resource() error
platform_get_resource() may fail and in this case a NULL dereference
will occur.

Prevent this from happening by returning an error on
platform_get_resource() failure.

Fixes: b0444f18e0 ("[media] coda: add i.MX6 VDOA driver")

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-20 08:26:53 -04:00
..
coda_regs.h media: coda: set MPEG-4 encoder class register 2017-07-19 15:21:02 -04:00
coda-bit.c media: coda: fix decoder sequence init escape flag 2017-08-08 06:49:26 -04:00
coda-common.c media: coda: constify platform_device_id 2017-08-20 08:24:24 -04:00
coda-gdi.c
coda-h264.c
coda-jpeg.c
coda.h
imx-vdoa.c media: coda/imx-vdoa: Check for platform_get_resource() error 2017-08-20 08:26:53 -04:00
imx-vdoa.h
Makefile
trace.h