msm: audio: qdsp6v2: LPADriver: Change default buffer count.
LPAPLayer to query LPAdriver and then allocate audio buffers.
Change the default buffer count in LPA driver to tested
combination of 4 buffers of size 524288 bytes each.
Change-Id: I2533ee22697eaf67e8c9ff32d79b55be1d8de80b
Signed-off-by: Sidipotu Ashok <sashok@codeaurora.org>
diff --git a/arch/arm/mach-msm/qdsp6v2/audio_lpa.c b/arch/arm/mach-msm/qdsp6v2/audio_lpa.c
index 3225d61..599198e 100644
--- a/arch/arm/mach-msm/qdsp6v2/audio_lpa.c
+++ b/arch/arm/mach-msm/qdsp6v2/audio_lpa.c
@@ -2,7 +2,7 @@
*
* Copyright (C) 2008 Google, Inc.
* Copyright (C) 2008 HTC Corporation
- * Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2009-2012, Code Aurora Forum. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -45,7 +45,7 @@
#include <mach/debug_mm.h>
#include <linux/fs.h>
-#define MAX_BUF 3
+#define MAX_BUF 4
#define BUFSZ (524288)
#define AUDDEC_DEC_PCM 0