kirkwood-i2s.c (53279f36dccffc26ff536003fd6bb97cc21c3b82) | kirkwood-i2s.c (2424d458108e275ca736dabc792ee9b6733994c5) |
---|---|
1/* 2 * kirkwood-i2s.c 3 * 4 * (c) 2010 Arnaud Patard <apatard@mandriva.com> 5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 81 unchanged lines hidden (view full) --- 90 break; 91 } 92 writel(value, io + KIRKWOOD_DCO_CTL); 93 94 /* wait for dco locked */ 95 do { 96 cpu_relax(); 97 value = readl(io + KIRKWOOD_DCO_SPCR_STATUS); | 1/* 2 * kirkwood-i2s.c 3 * 4 * (c) 2010 Arnaud Patard <apatard@mandriva.com> 5 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 81 unchanged lines hidden (view full) --- 90 break; 91 } 92 writel(value, io + KIRKWOOD_DCO_CTL); 93 94 /* wait for dco locked */ 95 do { 96 cpu_relax(); 97 value = readl(io + KIRKWOOD_DCO_SPCR_STATUS); |
98 value &= KIRKWOOD_DCO_SPCR_STATUS; | 98 value &= KIRKWOOD_DCO_SPCR_STATUS_DCO_LOCK; |
99 } while (value == 0); 100} 101 102static int kirkwood_i2s_startup(struct snd_pcm_substream *substream, 103 struct snd_soc_dai *dai) 104{ 105 struct kirkwood_dma_data *priv = snd_soc_dai_get_drvdata(dai); 106 --- 404 unchanged lines hidden --- | 99 } while (value == 0); 100} 101 102static int kirkwood_i2s_startup(struct snd_pcm_substream *substream, 103 struct snd_soc_dai *dai) 104{ 105 struct kirkwood_dma_data *priv = snd_soc_dai_get_drvdata(dai); 106 --- 404 unchanged lines hidden --- |