From 8a078d7853c6f994b33496198d1077a38fcd5e4b Mon Sep 17 00:00:00 2001 From: Eduard Kutuev Date: Sat, 14 Feb 2015 18:10:54 +0300 Subject: iBasso DX90 sound enabling fix Writing 0 instead of '0' to /sys/class/codec/wm8740_mute enables sound on DX90. Change-Id: Ie8e3980cac6b9298ef2c94f2faac023811d47b32 --- firmware/target/hosted/ibasso/system-ibasso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/hosted') diff --git a/firmware/target/hosted/ibasso/system-ibasso.c b/firmware/target/hosted/ibasso/system-ibasso.c index cf087761d3..45a6514aa2 100644 --- a/firmware/target/hosted/ibasso/system-ibasso.c +++ b/firmware/target/hosted/ibasso/system-ibasso.c @@ -63,7 +63,7 @@ void system_init(void) Prevent device to mute, which will cause tinyalsa pcm_writes to fail. /sys/class/codec/wm8740_mute */ - if(! sysfs_set_char(SYSFS_WM8740_MUTE, '0')) + if(! sysfs_set_char(SYSFS_WM8740_MUTE, 0)) { DEBUGF("ERROR %s: Can not set WM8740 lock.", __func__); } -- cgit v1.2.3