diff options
author | Jookia <166291@gmail.com> | 2016-11-09 07:20:24 +1100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-01-10 19:28:13 +0100 |
commit | e406ad3ccadaa45aa3f7621b67f701a16df98585 (patch) | |
tree | 96bc6d01e2dcbd2fb63c6f5e22a7809e5d97bf51 | |
parent | e5c6f26e8684a110141b0b798aacb7e88643c5c7 (diff) | |
download | hardware_tinyalsa-audio-e406ad3ccadaa45aa3f7621b67f701a16df98585.zip hardware_tinyalsa-audio-e406ad3ccadaa45aa3f7621b67f701a16df98585.tar.gz hardware_tinyalsa-audio-e406ad3ccadaa45aa3f7621b67f701a16df98585.tar.bz2 |
Set the device API version to AUDIO_DEVICE_API_VERSION_2_0 instead of current.
This fixes a boot crash.
-rw-r--r-- | audio_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -411,7 +411,7 @@ int audio_hw_open(const hw_module_t *module, const char *name, dev = &(tinyalsa_audio_device->device); dev->common.tag = HARDWARE_DEVICE_TAG; - dev->common.version = AUDIO_DEVICE_API_VERSION_CURRENT; + dev->common.version = AUDIO_DEVICE_API_VERSION_2_0; dev->common.module = (struct hw_module_t *) module; dev->common.close = audio_hw_close; |