[media] dvb: return the error from i2c_transfer if negative
authorHans Wennborg <hans@hanshq.net>
Thu, 7 Aug 2014 05:42:04 +0000 (02:42 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 22 Sep 2014 20:05:13 +0000 (17:05 -0300)
commit612f676bbef9b937764db453c931ea48be8020ef
treee89b57ddb30dc272dd730927016f6b9e67c75511
parenta375218460a625f15b5403d15d9a67d8f8951177
[media] dvb: return the error from i2c_transfer if negative

Just returns whatever error that was returned by the i2c core,
in the case of errors, only returning -EREMOTEIO if the transfer size
is not what it was expected.

Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/mb86a16.c