asoc: Add support for sysfs based SSR

Create sysfs node for SSR.

Change-Id: Ia181a51ae969632b739676b4b95e2bf0f50ce432
Cette révision appartient à :
Revathi Uddaraju
2021-02-11 22:32:16 -08:00
révisé par Gerrit - the friendly Code Review server
Parent 1207f8266b
révision 9d0e5be6b5
3 fichiers modifiés avec 91 ajouts et 9 suppressions

Voir le fichier

@@ -1,4 +1,4 @@
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
/* Copyright (c) 2020-2021, 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
@@ -41,11 +41,14 @@ struct msm_common_pdata {
atomic_t mi2s_gpio_ref_cnt[MI2S_TDM_AUXPCM_MAX];
};
int snd_card_notify_user(int card_status);
struct msm_common_pdata *msm_common_get_pdata(struct snd_soc_card *card);
void msm_common_set_pdata(struct snd_soc_card *card,
struct msm_common_pdata *pdata);
int snd_card_sysfs_init(void);
int msm_common_snd_startup(struct snd_pcm_substream *substream);
void msm_common_snd_shutdown(struct snd_pcm_substream *substream);