From 6dbc4cf3df3e1ac0e3c7ffd2df695fd836524d9b Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 14 Sep 2010 16:49:56 +0200 Subject: [PATCH 45/52] spi rework fixup patch --- drivers/spi/amba-pl022.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c index 4c7d174..aea71fd 100644 --- a/drivers/spi/amba-pl022.c +++ b/drivers/spi/amba-pl022.c @@ -1661,7 +1661,7 @@ static int pl022_setup(struct spi_device *spi) tmp = SSP_CLK_SECOND_EDGE; else tmp = SSP_CLK_FIRST_EDGE; - SSP_WRITE_BITS(chip->cr0, tmp, SSP_CR0_MASK_SPH, 6); + SSP_WRITE_BITS(chip->cr0, tmp, SSP_CR0_MASK_SPH, 7); SSP_WRITE_BITS(chip->cr0, chip_info->clk_freq.scr, SSP_CR0_MASK_SCR, 8); /* Loopback is available on all versions except PL023 */ -- 1.6.3.3