diff options
author | Lionel Xu <Lionel.Xu@freescale.com> | 2010-03-08 17:54:48 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-25 11:17:18 +0200 |
commit | f377b49771326a4b632088faa2267c7385294c60 (patch) | |
tree | 33e7f4d6d68af4eea312171f89433bf602f2bf90 /drivers/i2c/busses/i2c-mxs.c | |
parent | c5d471596d41aa71765f7a4342b8cbcac685c4ad (diff) |
ENGR00117750 MX28 ALSA:Support audio playback through SAIF
Porting from mxc sound asoc driver, to support audio playback on mx28 through
saif
Signed-off-by: Lionel Xu <r63889@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'drivers/i2c/busses/i2c-mxs.c')
-rw-r--r-- | drivers/i2c/busses/i2c-mxs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c index db20f6f3df25..705512b342e2 100644 --- a/drivers/i2c/busses/i2c-mxs.c +++ b/drivers/i2c/busses/i2c-mxs.c @@ -208,6 +208,7 @@ static void hw_i2c_dma_setup_write(u8 addr, void *buff, int len, int flags) desc[2]->cmd.cmd.bits.command = DMA_READ; desc[2]->cmd.address = i2c_buf_phys; desc[2]->cmd.pio_words[0] = CMD_I2C_WRITE; + desc[2]->cmd.pio_words[0] |= BM_I2C_CTRL0_POST_SEND_STOP; desc[2]->cmd.pio_words[0] |= BF_I2C_CTRL0_XFER_COUNT(len + 1) | flags; i2c_buf_virt[0] = addr | I2C_WRITE; |