]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
media: dib0700: fix error handling in dib0700_i2c_xfer_legacy()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Apr 2017 12:53:31 +0000 (09:53 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 24 Jun 2017 18:41:57 +0000 (15:41 -0300)
commit66083b49bd337e5f4dfa168c145ca38f8bcbe522
tree7b92b41af1d286d7f81bbde07baabd6bd3430b7c
parentd18a6ef59c53022b4af222412dc494cfd21c298e
media: dib0700: fix error handling in dib0700_i2c_xfer_legacy()

Mostly this adds some unlocks to error paths.  But, if you see where
there were "break;" statements before, I changed those paths to return
error codes instead of returning success.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/dib0700_core.c