Chuhong Yuan d000e9b5e4 media: tvp5150: Add missed media_entity_cleanup()
This driver does not call media_entity_cleanup() in the error handler
of tvp5150_registered() and tvp5150_remove(), while it has called
media_entity_pads_init() at first.
Add the missed calls to fix it.

Fixes: 0556f1d580d4 ("media: tvp5150: add input source selection of_graph support")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-07-04 12:43:36 +02:00
..
2019-07-09 09:47:22 -07:00
2019-07-09 09:47:22 -07:00
2019-03-01 09:29:58 -05:00
2019-11-08 07:28:22 +01:00
2019-08-26 14:05:09 -03:00
2019-03-01 09:29:58 -05:00
2019-03-01 09:29:58 -05:00