[media] au0828: enforce check for graph creation
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 4 Sep 2015 19:08:02 +0000 (16:08 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:19:00 +0000 (12:19 -0200)
commit4e26f3abafa9d0f635e105c8b9021f3b5bae6702
treef6ceebd633e06f2673c4a7bdabcde561950ec550
parentab232e46bf01db5c540a00f478853a3572b0b88b
[media] au0828: enforce check for graph creation

If the graph creation fails, don't register the device.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-core.c