This is a note to let you know that I've just added the patch titled
staging: IIO: IMU: ADIS16400: Fix up SPI messages cs_change behavior
to the 2.6.38-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
staging-iio-imu-adis16400-fix-up-spi-messages-cs_change-behavior.patch
and it can be found in the queue-2.6.38 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From fc5b85b0ad1f9da948e4d683710081a9bda357cb Mon Sep 17 00:00:00 2001
From: Michael Hennerich <[email protected]>
Date: Mon, 21 Mar 2011 16:44:35 +0100
Subject: staging: IIO: IMU: ADIS16400: Fix up SPI messages cs_change behavior
From: Michael Hennerich <[email protected]>
commit fc5b85b0ad1f9da948e4d683710081a9bda357cb upstream.
cs_change must not be set in the last transfer of a spi message
Signed-off-by: Michael Hennerich <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/staging/iio/imu/adis16400_core.c | 2 --
drivers/staging/iio/imu/adis16400_ring.c | 2 --
2 files changed, 4 deletions(-)
--- a/drivers/staging/iio/imu/adis16400_core.c
+++ b/drivers/staging/iio/imu/adis16400_core.c
@@ -93,7 +93,6 @@ static int adis16400_spi_write_reg_16(st
.tx_buf = st->tx + 2,
.bits_per_word = 8,
.len = 2,
- .cs_change = 1,
},
};
@@ -137,7 +136,6 @@ static int adis16400_spi_read_reg_16(str
.rx_buf = st->rx,
.bits_per_word = 8,
.len = 2,
- .cs_change = 1,
},
};
--- a/drivers/staging/iio/imu/adis16400_ring.c
+++ b/drivers/staging/iio/imu/adis16400_ring.c
@@ -122,12 +122,10 @@ static int adis16400_spi_read_burst(stru
.tx_buf = st->tx,
.bits_per_word = 8,
.len = 2,
- .cs_change = 0,
}, {
.rx_buf = rx,
.bits_per_word = 8,
.len = 24,
- .cs_change = 1,
},
};
Patches currently in stable-queue which might be from
[email protected] are
queue-2.6.38/staging-iio-imu-adis16400-add-delay-after-self-test.patch
queue-2.6.38/staging-iio-imu-adis16400-fix-up-spi-messages-cs_change-behavior.patch
queue-2.6.38/staging-iio-imu-adis16400-fix-addresses-of-gyro-and-accel-calibration-offset.patch
queue-2.6.38/staging-iio-imu-adis16400-make-sure-only-enabled-scan_elements-are-pushed-into-the-ring.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable