diff options
Diffstat (limited to 'include/sound/adsp_err.h')
-rw-r--r-- | include/sound/adsp_err.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sound/adsp_err.h b/include/sound/adsp_err.h new file mode 100644 index 000000000000..43be91d6ba8f --- /dev/null +++ b/include/sound/adsp_err.h @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __ADSP_ERR__ +#define __ADSP_ERR__ + +int adsp_err_get_lnx_err_code(u32 adsp_error); + +char *adsp_err_get_err_str(u32 adsp_error); + +#endif |