diff options
author | Vinod G <vinodg@nvidia.com> | 2011-05-18 13:39:37 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-05-18 22:41:03 -0700 |
commit | 2c4aef1e859d273ff7a67bd6747e436d8d17b965 (patch) | |
tree | 8f05870e61c950389e5f720f60ba11d7ee1eab2c | |
parent | c859cc742fc0e9d88e88f5a96051ac5c6800d6b5 (diff) |
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 <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
-rw-r--r-- | sound/soc/tegra/tegra_spdif.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |