]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/i2c/busses/i2c-sh_mobile.c
i2c: sh_mobile: don't send a stop condition by default inside transfers
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 17 Jan 2013 09:45:57 +0000 (10:45 +0100)
committerWolfram Sang <wolfram@the-dreams.de>
Sun, 10 Feb 2013 18:55:24 +0000 (19:55 +0100)
commite789029761503f0cce03e8767a56ae099b88e1bd
treedae8b0a71c38f79384c2ead8c29ca4f176007efa
parent4b3823184f80c1d3950e5e63e2303653f2decdf8
i2c: sh_mobile: don't send a stop condition by default inside transfers

By default there should be no stop bit on I2C between single messages
within transfers. Fix the driver to comply and only send a stop bit at
the end of transfers or if I2C_M_STOP is set.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c