summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-08-16 20:14:07 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-20 08:26:53 -0400
commita874aabef9337f26c589858e7ea0ec6a6adbb129 (patch)
tree9ad7dbb4c3bf914ffe4fc28066c540cab10d7c0e /drivers/media/usb
parentd088c3107e9718ca3271277693f80a42d4effe51 (diff)
downloadlinux-a874aabef9337f26c589858e7ea0ec6a6adbb129.tar.bz2
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: b0444f18e0b18abce ("[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>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions