summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSandeep Shinde <sashinde@nvidia.com>2010-04-28 08:52:08 +0530
committerYu-Huan Hsu <yhsu@nvidia.com>2010-04-27 20:46:27 -0700
commit654afa0eec64f681b9fa0e471186f6853f76c11b (patch)
treefb0785b09916af6c7ecda99a7f06fb003091a828 /sound
parent55c82007cdef68d99212a01cff5ef7cf3ea10fc3 (diff)
tegra ALSA: Fixing kernel build break
Kernel build is broken with the last changes that were commited with below commit Id. Commit Id: 1a6769405dbaa37775.... Change-Id: I7249e9e149545fa230ea1e61edf96175748073f3 Reviewed-on: http://git-master/r/1232 Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Sandeep Shinde <sashinde@nvidia.com> Tested-by: Sandeep Shinde <sashinde@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_pcm_rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra_pcm_rpc.c b/sound/soc/tegra/tegra_pcm_rpc.c
index 3ddd08a471ad..f6acc88db4f1 100644
--- a/sound/soc/tegra/tegra_pcm_rpc.c
+++ b/sound/soc/tegra/tegra_pcm_rpc.c
@@ -132,9 +132,9 @@ static int play_thread( void *arg)
}
if (buffer_in_queue == 0) {
- prtd->play_thread_waiting = TRUE;
+ prtd->play_thread_waiting = true;
wait_for_completion(&prtd->appl_ptr_comp);
- prtd->play_thread_waiting = FALSE;
+ prtd->play_thread_waiting = false;
init_completion(&prtd->appl_ptr_comp);
}
@@ -548,7 +548,7 @@ static int tegra_pcm_open(struct snd_pcm_substream *substream)
init_completion(&prtd->thread_comp);
init_completion(&prtd->appl_ptr_comp);
- prtd->play_thread_waiting = FALSE;
+ prtd->play_thread_waiting = false;
sema_init(&prtd->buf_done_sem, 0);
if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK){