diff options
author | Alan Tull <alan.tull@freescale.com> | 2011-10-20 10:51:55 -0500 |
---|---|---|
committer | Alan Tull <alan.tull@freescale.com> | 2011-10-25 11:51:18 -0500 |
commit | 9687c1de73d069054badc28c0f73e5bfe20ab04b (patch) | |
tree | 9a61926e538026d27b0b0004bf3ed9fc29ad3e8e /sound | |
parent | f54fc9fbc896db2e09f7e9d9a24592a418439487 (diff) |
ENGR00139265-1 spdif capture gets clock from spdif stream
The S/PDIF block's DPLL recovers the clock from the input
bitstream. So S/PDIF capture rate is not dependent on
transmit clocks available.
Signed-off-by: Alan Tull <alan.tull@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/mxc_spdif.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sound/soc/codecs/mxc_spdif.c b/sound/soc/codecs/mxc_spdif.c index fbcd75494209..3369e3bdcc22 100644 --- a/sound/soc/codecs/mxc_spdif.c +++ b/sound/soc/codecs/mxc_spdif.c @@ -1167,11 +1167,9 @@ static int __devinit mxc_spdif_probe(struct platform_device *pdev) mxc_spdif_codec_dai.capture.channels_min = 2; mxc_spdif_codec_dai.capture.channels_max = 2; - if (plat_data->spdif_clk_44100 >= 0) - mxc_spdif_codec_dai.capture.rates |= SNDRV_PCM_RATE_44100; - if (plat_data->spdif_clk_48000 >= 0) - mxc_spdif_codec_dai.capture.rates |= SNDRV_PCM_RATE_32000 | - SNDRV_PCM_RATE_48000; + /* rx clock is recovered from audio stream, so it is not + dependent on tx clocks available */ + mxc_spdif_codec_dai.capture.rates = MXC_SPDIF_RATES_CAPTURE; mxc_spdif_codec_dai.capture.formats = MXC_SPDIF_FORMATS_CAPTURE; } |