diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-04-28 09:52:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-24 15:38:37 -0300 |
commit | d18a6ef59c53022b4af222412dc494cfd21c298e (patch) | |
tree | b13bb89281ffddb5233b022fb8a798b58576f4be /drivers/media/radio/radio-aztech.c | |
parent | dbe885a5dd86abc4bbcc72d17a6be4e92308c87f (diff) |
media: dib0700: fix locking in dib0700_i2c_xfer_new()
This patch mostly adds unlocks to error paths. But one additional small
change is that I made the first "break;" a "goto unlock;" which means
that now we return failure instead of success on that path.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/radio/radio-aztech.c')
0 files changed, 0 insertions, 0 deletions