diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-05-08 02:14:15 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-11 11:36:09 -0400 |
| commit | 50a0efae2758687737349707e335ccf2de9007d2 (patch) | |
| tree | 8c18439e13320500c4195fa3a6215ebb542ebb62 /tools/perf/scripts/python | |
| parent | de281f7e8ff12247e2807a0f9ba42eeddf2e7824 (diff) | |
| download | linux-50a0efae2758687737349707e335ccf2de9007d2.tar.gz linux-50a0efae2758687737349707e335ccf2de9007d2.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
