summaryrefslogtreecommitdiff
path: root/include/linux/imx-media.h
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2018-03-12 18:44:58 +0530
committerWolfram Sang <wsa@the-dreams.de>2018-03-24 13:20:20 +0100
commitecb6e1e5f4352055a5761b945a833a925d51bf8d (patch)
tree2756f6072ba0e8c76e47dce06bf9077abfa66dbe /include/linux/imx-media.h
parent08f15963bc751bc818294c0f75a9aaca299c4052 (diff)
downloadlinux-ecb6e1e5f4352055a5761b945a833a925d51bf8d.tar.gz
linux-ecb6e1e5f4352055a5761b945a833a925d51bf8d.tar.xz
i2c: qup: change completion timeout according to transfer length
Currently the completion timeout is being taken according to maximum transfer length which is too high if SCL is operating in high frequency. This patch calculates timeout on the basis of one-byte transfer time and uses the same for completion timeout. Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Reviewed-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/imx-media.h')
0 files changed, 0 insertions, 0 deletions