ASoC: wsa883x: add function to get swr device number
Add a function in wsa883x which returns the sound wire device number for a given wsa883x codec slave instance. Change-Id: Ie3d0e309870f488b1643a853bcddcf93314d94b5 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
d135c72b0b
commit
912fd67d6c
@@ -21,6 +21,7 @@ int wsa883x_set_channel_map(struct snd_soc_component *component,
|
||||
int wsa883x_codec_info_create_codec_entry(
|
||||
struct snd_info_entry *codec_root,
|
||||
struct snd_soc_component *component);
|
||||
int wsa883x_codec_get_dev_num(struct snd_soc_component *component);
|
||||
#else
|
||||
static int wsa883x_set_channel_map(struct snd_soc_component *component,
|
||||
u8 *port, u8 num_port, unsigned int *ch_mask,
|
||||
@@ -36,6 +37,10 @@ static int wsa883x_codec_info_create_codec_entry(
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int wsa883x_codec_get_dev_num(struct snd_soc_component *component)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _WSA883X_H */
|
||||
|
Reference in New Issue
Block a user