From: Greg Kroah-Hartman Date: Mon, 2 Feb 2015 23:01:32 +0000 (-0800) Subject: 3.10-stable patches X-Git-Tag: v3.18.6~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb18d1fd8a7153c159be0567052cfe1ca502e73c;p=thirdparty%2Fkernel%2Fstable-queue.git 3.10-stable patches added patches: spi-dw-mid-fix-fifo-size.patch --- diff --git a/queue-3.10/series b/queue-3.10/series new file mode 100644 index 00000000000..01ad6fa8c67 --- /dev/null +++ b/queue-3.10/series @@ -0,0 +1 @@ +spi-dw-mid-fix-fifo-size.patch diff --git a/queue-3.10/spi-dw-mid-fix-fifo-size.patch b/queue-3.10/spi-dw-mid-fix-fifo-size.patch new file mode 100644 index 00000000000..871e475f655 --- /dev/null +++ b/queue-3.10/spi-dw-mid-fix-fifo-size.patch @@ -0,0 +1,32 @@ +From 67bf9cda4b498b8cea4a40be67a470afe57d2e88 Mon Sep 17 00:00:00 2001 +From: Andy Shevchenko +Date: Fri, 2 Jan 2015 17:48:51 +0200 +Subject: spi: dw-mid: fix FIFO size + +From: Andy Shevchenko + +commit 67bf9cda4b498b8cea4a40be67a470afe57d2e88 upstream. + +The FIFO size is 40 accordingly to the specifications, but this means 0x40, +i.e. 64 bytes. This patch fixes the typo and enables FIFO size autodetection +for Intel MID devices. + +Fixes: 7063c0d942a1 (spi/dw_spi: add DMA support) +Signed-off-by: Andy Shevchenko +Signed-off-by: Mark Brown +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/spi/spi-dw-mid.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/drivers/spi/spi-dw-mid.c ++++ b/drivers/spi/spi-dw-mid.c +@@ -222,7 +222,6 @@ int dw_spi_mid_init(struct dw_spi *dws) + iounmap(clk_reg); + + dws->num_cs = 16; +- dws->fifo_len = 40; /* FIFO has 40 words buffer */ + + #ifdef CONFIG_SPI_DW_MID_DMA + dws->dma_priv = kzalloc(sizeof(struct mid_dma), GFP_KERNEL); diff --git a/queue-3.14/series b/queue-3.14/series new file mode 100644 index 00000000000..71501485e4f --- /dev/null +++ b/queue-3.14/series @@ -0,0 +1,2 @@ +x86-build-replace-perl-script-with-shell-script.patch +spi-dw-mid-fix-fifo-size.patch diff --git a/queue-3.18/series b/queue-3.18/series new file mode 100644 index 00000000000..76c0674408b --- /dev/null +++ b/queue-3.18/series @@ -0,0 +1,4 @@ +x86-build-replace-perl-script-with-shell-script.patch +spi-dw-fix-detecting-fifo-depth.patch +spi-dw-mid-fix-fifo-size.patch +vm-add-vm_fault_sigsegv-handling-support.patch