audio-lnx: Rename folders to new flat structure.
Kernel audio drivers can be categorised into below folders. asoc - ALSA based drivers, asoc/codecs - codec drivers, ipc - APR IPC communication drivers, dsp - DSP low level drivers/Audio ION/ADSP Loader, dsp/codecs - Native encoders and decoders, soc - SoC based drivers(pinctrl/regmap/soundwire) Restructure drivers to above folder format. Include directories also follow above format. Change-Id: I8fa0857baaacd47db126fb5c1f1f5ed7e886dbc0 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
此提交包含在:
34
asoc/codecs/wsa881x.h
一般檔案
34
asoc/codecs/wsa881x.h
一般檔案
@@ -0,0 +1,34 @@
|
||||
/* 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 _WSA881X_H
|
||||
#define _WSA881X_H
|
||||
|
||||
#include <linux/regmap.h>
|
||||
#include <sound/soc.h>
|
||||
#include <sound/info.h>
|
||||
#include "wsa881x-registers.h"
|
||||
|
||||
#define WSA881X_MAX_SWR_PORTS 4
|
||||
|
||||
extern int wsa881x_set_channel_map(struct snd_soc_codec *codec, u8 *port,
|
||||
u8 num_port, unsigned int *ch_mask,
|
||||
unsigned int *ch_rate);
|
||||
|
||||
extern const u8 wsa881x_reg_readable[WSA881X_CACHE_SIZE];
|
||||
extern struct regmap_config wsa881x_regmap_config;
|
||||
extern int wsa881x_codec_info_create_codec_entry(
|
||||
struct snd_info_entry *codec_root,
|
||||
struct snd_soc_codec *codec);
|
||||
void wsa881x_regmap_defaults(struct regmap *regmap, u8 version);
|
||||
|
||||
#endif /* _WSA881X_H */
|
新增問題並參考
封鎖使用者