diff options
author | Eduard Kutuev <nap@napych.com> | 2015-02-14 18:10:54 +0300 |
---|---|---|
committer | Eduard Kutuev <nap@napych.com> | 2015-02-14 18:10:54 +0300 |
commit | 8a078d7853c6f994b33496198d1077a38fcd5e4b (patch) | |
tree | 8d06aae518e5390cf3a7854976c1b554131f35de /firmware/target | |
parent | d81b36222a9d3c261367cc4cfbe692dc06a92023 (diff) | |
download | rockbox-8a078d7853c6f994b33496198d1077a38fcd5e4b.tar.gz rockbox-8a078d7853c6f994b33496198d1077a38fcd5e4b.zip |
iBasso DX90 sound enabling fix
Writing 0 instead of '0' to /sys/class/codec/wm8740_mute enables sound on DX90.
Change-Id: Ie8e3980cac6b9298ef2c94f2faac023811d47b32
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/hosted/ibasso/system-ibasso.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
63 | Prevent device to mute, which will cause tinyalsa pcm_writes to fail. | 63 | Prevent device to mute, which will cause tinyalsa pcm_writes to fail. |
64 | /sys/class/codec/wm8740_mute | 64 | /sys/class/codec/wm8740_mute |
65 | */ | 65 | */ |
66 | if(! sysfs_set_char(SYSFS_WM8740_MUTE, '0')) | 66 | if(! sysfs_set_char(SYSFS_WM8740_MUTE, 0)) |
67 | { | 67 | { |
68 | DEBUGF("ERROR %s: Can not set WM8740 lock.", __func__); | 68 | DEBUGF("ERROR %s: Can not set WM8740 lock.", __func__); |
69 | } | 69 | } |