summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-01-07 11:35:21 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-01 14:20:24 +0300
commit4c7cad4bbf718e73a49e236e2b79489f1ee83810 (patch)
tree35cad63817bf88a1281e9905a1552cdd58449215 /mm
parentd309c8bb70beef4128a78d5208e692800c68b8f0 (diff)
downloadlinux-4c7cad4bbf718e73a49e236e2b79489f1ee83810.tar.xz
[media] rtl28xxu: retry failed i2c messages
Sometimes i2c transfer fails. That happens especially when large amount of data is written sequentially eg. firmware download. Problem arises with both integrated rtl2832 demod and external mn88472 demod, which is clear indicator it is busy i2c bus issue. Use i2c core retry logic in order fix the issue by repeating failed message. Another solution which also works is to add ~100us delay between i2c messages - but repeating sounds more elegant and does not cause any extra delay for success cases. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions