From 2c4aef1e859d273ff7a67bd6747e436d8d17b965 Mon Sep 17 00:00:00 2001 From: Vinod G Date: Wed, 18 May 2011 13:39:37 -0700 Subject: arm: tegra: Fix suspend/resume hang Spdif driver resume was causing issue on resume stage. Change-Id: I25c0d52889c4ff1b029053f744bee32023cf1a8f Reviewed-on: http://git-master/r/32070 Reviewed-by: Vinod Gopalakrishnakurup Tested-by: Vinod Gopalakrishnakurup Reviewed-by: Scott Peterson Reviewed-by: Scott Williams --- sound/soc/tegra/tegra_spdif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound') diff --git a/sound/soc/tegra/tegra_spdif.c b/sound/soc/tegra/tegra_spdif.c index 82cd5d88b15d..10a8abe630dc 100644 --- a/sound/soc/tegra/tegra_spdif.c +++ b/sound/soc/tegra/tegra_spdif.c @@ -348,11 +348,11 @@ static int tegra_spdif_driver_probe(struct platform_device *pdev) info->spdev_info.dev_type = AUDIO_SPDIF_DEVICE; info->spdev_info.dev_id = pdev->id; - info->spdev_info.fifo_mode = AUDIO_TX_MODE; + info->spdev_info.fifo_mode = AUDIO_RX_MODE; am_device_init(&info->spdev_info, (void *)&dev_fmt, 0); - info->spdev_info.fifo_mode = AUDIO_RX_MODE; + info->spdev_info.fifo_mode = AUDIO_TX_MODE; am_device_init(&info->spdev_info, (void *)&dev_fmt, 0); tegra_spdif_dai.dev = &pdev->dev; -- cgit v1.2.3