]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/spi/mxc_spi.c
SPI: mxc_spi: remove second reset from ECSPI config handler
[karo-tx-uboot.git] / drivers / spi / mxc_spi.c
index be102692d446450528886c998440ecefc8a32fbf..523c7af20466f602e98f7bd106cefc2b846d5b64 100644 (file)
@@ -169,9 +169,6 @@ static s32 spi_cfg_mxc(struct mxc_spi_slave *mxcs, unsigned int cs,
        reg_ctrl = (reg_ctrl & ~MXC_CSPICTRL_POSTDIV(0x0F)) |
                MXC_CSPICTRL_POSTDIV(post_div);
 
-       /* We need to disable SPI before changing registers */
-       reg_ctrl &= ~MXC_CSPICTRL_EN;
-
        if (mode & SPI_CS_HIGH)
                ss_pol = 1;