Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335637
b: refs/heads/master
c: 213a796
h: refs/heads/master
i:
  335635: 009bc4b
v: v3
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Nov 2, 2012
1 parent 94f33ce commit ea3cc53
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f55f14752ecaccf7d6a52fd13929b73fcb191f19
refs/heads/master: 213a79656462176b553c6f9cdf96e14313e43bcf
17 changes: 4 additions & 13 deletions trunk/sound/soc/mxs/mxs-saif.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,24 +523,16 @@ static int mxs_saif_trigger(struct snd_pcm_substream *substream, int cmd,

if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
/*
* write data to saif data register to trigger
* the transfer.
* For 24-bit format the 32-bit FIFO register stores
* only one channel, so we need to write twice.
* This is also safe for the other non 24-bit formats.
* write a data to saif data register to trigger
* the transfer
*/
__raw_writel(0, saif->base + SAIF_DATA);
__raw_writel(0, saif->base + SAIF_DATA);
} else {
/*
* read data from saif data register to trigger
* the receive.
* For 24-bit format the 32-bit FIFO register stores
* only one channel, so we need to read twice.
* This is also safe for the other non 24-bit formats.
* read a data from saif data register to trigger
* the receive
*/
__raw_readl(saif->base + SAIF_DATA);
__raw_readl(saif->base + SAIF_DATA);
}

master_saif->ongoing = 1;
Expand Down Expand Up @@ -820,4 +812,3 @@ module_platform_driver(mxs_saif_driver);
MODULE_AUTHOR("Freescale Semiconductor, Inc.");
MODULE_DESCRIPTION("MXS ASoC SAIF driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:mxs-saif");
1 change: 1 addition & 0 deletions trunk/sound/soc/samsung/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ config SND_SOC_BELLS
select SND_SOC_WM5102
select SND_SOC_WM5110
select SND_SOC_WM9081
select SND_SOC_WM0010

config SND_SOC_LOWLAND
tristate "Audio support for Wolfson Lowland"
Expand Down

0 comments on commit ea3cc53

Please sign in to comment.