summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorManjula Gupta <magupta@nvidia.com>2010-07-26 17:19:28 +0530
committerBharat Nihalani <bnihalani@nvidia.com>2010-07-28 00:36:13 -0700
commit17622b4635d65007e94b49a33d0888f0bee90f07 (patch)
tree44a7b6f50d80afa3aca6385f30ca97dea5c1a8c8 /sound
parent55a9799cd38a5f2d6f4b19e82b0dd4514b031065 (diff)
[tegra ALSA] Handle EOS event case.
Audiofx sends notification of EOS event instead of bufferdone event, if it doesn't have buffer ready to feed the record application, adding this case in the Notifier Thread of ALSA to avoid falling it under default case. For bug 714478 Change-Id: I2e48d11ce6ad40a2d2ed5241c0b9089c372507b8 Reviewed-on: http://git-master/r/4411 Reviewed-by: Vijay Mali <vmali@nvidia.com> Tested-by: Manjula Gupta <magupta@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_transport.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_transport.c b/sound/soc/tegra/tegra_transport.c
index 50c30ffc062e..679408d6ee88 100644
--- a/sound/soc/tegra/tegra_transport.c
+++ b/sound/soc/tegra/tegra_transport.c
@@ -651,6 +651,9 @@ static void tegra_audiofx_notifier_thread(void *arg)
}
break;
+ case NvAudioFxEventEndOfStream:
+ break;
+
case NvAudioFxEventStateChange:{
NvAudioFxStateChangeMessage* scm =
(NvAudioFxStateChangeMessage*)message;
@@ -689,7 +692,7 @@ static void tegra_audiofx_notifier_thread(void *arg)
break;
default:
- snd_printk(KERN_ERR"Unhandled event\n");
+ pr_debug("Unhandled event 0x%08x\n", message->Event);
break;
}
}