summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sc18is602.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-03-24 16:58:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-04-02 18:36:24 +0100
commitaa9922579fee20ac4f2bb959a79bbfbff2c04585 (patch)
treeccbd00def5fc4076f4c46a95181b4ad78f9c95c6 /drivers/spi/spi-sc18is602.c
parentdea120e665712a9be41a6c846e73c6af19e00af7 (diff)
downloadop-kernel-dev-aa9922579fee20ac4f2bb959a79bbfbff2c04585.zip
op-kernel-dev-aa9922579fee20ac4f2bb959a79bbfbff2c04585.tar.gz
staging:iio:magnetometer:ak8975 drop I2C_M_NOSTART flag in read_data
This flag makes no sense whatsoever where it is. Documentation/i2c/i2c-protocol states: If you set the I2C_M_NOSTART variable for the first partial message, we do not generate Addr, but we do generate the startbit S. This will probably confuse all other clients on your bus, so don't try this. This is exactly what is going on here. Likelihood given that the driver never checked for this protocol mangling being available is that it wasn't present on the test boards and hence this flag was simply ignored. No indication of why it would be necessary has been found in the datasheets. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/spi/spi-sc18is602.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud