summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_export.h
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2014-01-19 18:48:35 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-02-04 16:43:05 -0200
commit123a17d1427a2d7ad9142df1f6543c578864a0dd (patch)
treef8747e8fa247f98be7b79d356753021524a9fd58 /fs/xfs/xfs_export.h
parent8ae8cd6c3e2519128224c2fce0dbfd7a9e32c66c (diff)
[media] em28xx-i2c: fix the error code for unknown errors
Commit e63b009d6e "em28xx-i2c: Fix error code for I2C error transfers" changed the code to return -ETIMEDOUT on all unknown errors. But the proper error code for unknown errors is -EIO. So only report -ETIMEDOUT in case of the errors 0x02 and 0x04, which are according to Mauro Carvalho Chehab's tests related to i2c clock stretching and return -EIO for the rest. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'fs/xfs/xfs_export.h')
0 files changed, 0 insertions, 0 deletions