[media] cx231xx: enforce check for graph creation
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 4 Sep 2015 19:07:03 +0000 (16:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:59 +0000 (12:18 -0200)
commitab232e46bf01db5c540a00f478853a3572b0b88b
tree78b0d8e9e70cd8812a21de802b42dc206c76292e
parent5e5387df0491679fb1210b231173c5279061e9c4
[media] cx231xx: 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/cx231xx/cx231xx-cards.c