diff options
author | Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> | 2018-02-07 16:11:35 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-26 10:30:15 -0500 |
commit | e0019f71011dff4228175d1e30c1ba7fd6da41de (patch) | |
tree | 551e18a6d9c853db38b2ae3bcac2bbb4eecf2f2e /drivers/media/platform/stm32 | |
parent | 2c737e9c29b1fb7e585470c8247b9ec8ba5285c4 (diff) |
media: i2c: adv748x: Fix cleanup jump on chip identification
The error handling for the adv748x_identify_chip() call erroneously
jumps to the err_cleanup_clients label before the clients have been
established.
Correct this by jumping to the next (and correct) label in the cleanup
code: err_cleanup_dt.
Fixes: 3e89586a64df ("media: i2c: adv748x: add adv748x driver")
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/stm32')
0 files changed, 0 insertions, 0 deletions