return dev_get_regmap(dev->parent, NULL);
}
--static int pm8916_wcd_analog_startup(struct snd_pcm_substream *substream,
-- struct snd_soc_dai *dai)
--{
-- snd_soc_update_bits(dai->codec, CDC_D_CDC_RST_CTL,
-- RST_CTL_DIG_SW_RST_N_MASK,
-- RST_CTL_DIG_SW_RST_N_REMOVE_RESET);
--
-- return 0;
--}
--
--static void pm8916_wcd_analog_shutdown(struct snd_pcm_substream *substream,
-- struct snd_soc_dai *dai)
--{
-- snd_soc_update_bits(dai->codec, CDC_D_CDC_RST_CTL,
-- RST_CTL_DIG_SW_RST_N_MASK, 0);
--}
--
- static struct snd_soc_dai_ops pm8916_wcd_analog_dai_ops = {
-static const struct snd_soc_dai_ops pm8916_wcd_analog_dai_ops = {
-- .startup = pm8916_wcd_analog_startup,
-- .shutdown = pm8916_wcd_analog_shutdown,
--};
--
static struct snd_soc_dai_driver pm8916_wcd_analog_dai[] = {
[0] = {
.name = "pm8916_wcd_analog_pdm_rx",