iBasso DX90 sound enabling fix

Writing 0 instead of '0' to /sys/class/codec/wm8740_mute enables sound on DX90.

Change-Id: Ie8e3980cac6b9298ef2c94f2faac023811d47b32
This commit is contained in:
Eduard Kutuev 2015-02-14 18:10:54 +03:00
parent d81b36222a
commit 8a078d7853

View file

@ -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__);
}