]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - tas256xsw-android/tas2563-android-driver.git/blob - tas2563-codec.h
fixed the null point issue
[tas256xsw-android/tas2563-android-driver.git] / tas2563-codec.h
1 /*
2 ** =============================================================================
3 ** Copyright (c) 2016  Texas Instruments Inc.
4 **
5 ** This program is free software; you can redistribute it and/or modify it under
6 ** the terms of the GNU General Public License as published by the Free Software
7 ** Foundation; version 2.
8 **
9 ** This program is distributed in the hope that it will be useful, but WITHOUT
10 ** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 ** FOR A PARTICULAR PURPOSE.See the GNU General Public License for more details.
12 **
13 ** File:
14 **     tas2563-codec.h
15 **
16 ** Description:
17 **     header file for tas2563-codec.c
18 **
19 ** =============================================================================
20 */
22 #ifndef _TAS2563_CODEC_H
23 #define _TAS2563_CODEC_H
25 #include "tas2563.h"
27 int tas2563_register_codec(struct tas2563_priv *pTAS2563);
28 int tas2563_deregister_codec(struct tas2563_priv *pTAS2563);
29 int tas2563_set_program(struct tas2563_priv *pTAS2563, unsigned int nProgram, int nConfig);
30 int tas2563_LoadConfig(struct tas2563_priv *pTAS2563, bool bPowerOn);
31 void tas2563_fw_ready(const struct firmware *pFW, void *pContext);
32 int tas2563_set_config(struct tas2563_priv *pTAS2563, int config);
34 #endif /* _TAS2563_CODEC_H */