Christophe JAILLET 50a0efae27 media: i2c: tda1997: Fix an error handling path 'tda1997x_probe()'
If 'media_entity_pads_init()' fails, we must free the resources allocated
by 'v4l2_ctrl_handler_init()', as already done in the previous error
handling path.

'goto' the right label to fix it.

Fixes: 9ac0038db9a7 ("media: i2c: Add TDA1997x HDMI receiver driver")

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-05-11 11:36:09 -04:00
..
2017-11-30 04:42:19 -05:00
2018-02-14 13:16:31 -05:00
2018-02-14 13:16:31 -05:00
2018-02-14 13:16:31 -05:00
2018-05-04 06:36:46 -04:00
2018-02-14 13:16:31 -05:00
2018-03-23 07:48:08 -04:00
2018-05-10 07:19:23 -04:00