diff options
Diffstat (limited to 'drivers/spi/spi_mpc8xxx.c')
-rw-r--r-- | drivers/spi/spi_mpc8xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_mpc8xxx.c b/drivers/spi/spi_mpc8xxx.c index 4f0cc9d457e0..56efdfe1428d 100644 --- a/drivers/spi/spi_mpc8xxx.c +++ b/drivers/spi/spi_mpc8xxx.c | |||
@@ -639,7 +639,7 @@ static int mpc8xxx_spi_setup(struct spi_device *spi) | |||
639 | } | 639 | } |
640 | mpc8xxx_spi = spi_master_get_devdata(spi->master); | 640 | mpc8xxx_spi = spi_master_get_devdata(spi->master); |
641 | 641 | ||
642 | hw_mode = cs->hw_mode; /* Save orginal settings */ | 642 | hw_mode = cs->hw_mode; /* Save original settings */ |
643 | cs->hw_mode = mpc8xxx_spi_read_reg(&mpc8xxx_spi->base->mode); | 643 | cs->hw_mode = mpc8xxx_spi_read_reg(&mpc8xxx_spi->base->mode); |
644 | /* mask out bits we are going to set */ | 644 | /* mask out bits we are going to set */ |
645 | cs->hw_mode &= ~(SPMODE_CP_BEGIN_EDGECLK | SPMODE_CI_INACTIVEHIGH | 645 | cs->hw_mode &= ~(SPMODE_CP_BEGIN_EDGECLK | SPMODE_CI_INACTIVEHIGH |