[media] tvp5150: put endpoint node on error
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 5 Feb 2016 19:09:53 +0000 (17:09 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 10 Feb 2016 11:38:20 +0000 (09:38 -0200)
commit2bd5e4375aec8731c9818b2ac86ac035d3aebe86
treedbbc85534c1f174f694438f2bc540a5278c32776
parent7c3e1ec1f772c1f740fce3180bf419018582977f
[media] tvp5150: put endpoint node on error

If the parallel mbus configuration is not correct, the endpoint
device node isn't currently put again in the error path. Fix it.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tvp5150.c