]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
i2c: octeon: Remove zero-length message support
authorJan Glauber <jglauber@cavium.com>
Tue, 26 Apr 2016 14:26:52 +0000 (16:26 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 26 Apr 2016 21:02:47 +0000 (23:02 +0200)
commit392d01de2d2476e8a50cf30f049e369deaaea127
tree6cef3ad55c638a68599e3cccd194bedc7ecd1d35
parentd16415b2627e91a45778e1888bfdd5c6744294bf
i2c: octeon: Remove zero-length message support

Zero-length message support (SMBUS QUICK or i2c) never worked with
the Octeon hardware. Disable SMBUS QUICK support and bail out in
case of a zero-length i2c request.

After this change 'i2c-detect -q' will return an error on Octeon but
the previously reported results were wrong anyway.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-octeon.c