From: Marcus Cooper <[email protected]>
Signed-off-by: Marcus Cooper <[email protected]>
---
sound/soc/sunxi/sunxi-codec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sound/soc/sunxi/sunxi-codec.c b/sound/soc/sunxi/sunxi-codec.c
index 961efa7..8c7d34c 100644
--- a/sound/soc/sunxi/sunxi-codec.c
+++ b/sound/soc/sunxi/sunxi-codec.c
@@ -34,7 +34,6 @@
#include <plat/sys_config.h>
#include <mach/system.h>
-#define SCRIPT_AUDIO_OK (0)
static int has_playback, has_capture;
static int gpio_pa_shutdown = 0;
struct clk *codec_apbclk,*codec_pll2clk,*codec_moduleclk;
@@ -345,7 +344,7 @@ static int codec_init(void)
}
rc = script_parser_fetch("audio_para", "audio_lr_change",
&device_lr_change, 1);
- if (rc != SCRIPT_AUDIO_OK) {
+ if (rc != 0) {
pr_err("No audio_lr_change in fex audio_para\n");
return -1;
}
--
1.9.1
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.