Re: [alsa-devel] [RFC PATCH 31/40] soundwire: intel: move shutdown() callback and don't export symbol

2019-08-23 Thread Pierre-Louis Bossart
+void intel_shutdown(struct snd_pcm_substream *substream, +    struct snd_soc_dai *dai) +{ +    struct sdw_cdns_dma_data *dma; + +    dma = snd_soc_dai_get_dma_data(dai, substream); +    if (!dma) +    return; + +    snd_soc_dai_set_dma_data(dai, substream, NULL); +    kfree(dma);

Re: [alsa-devel] [RFC PATCH 31/40] soundwire: intel: move shutdown() callback and don't export symbol

2019-08-23 Thread Vinod Koul
On 14-08-19, 14:31, Pierre-Louis Bossart wrote: > > > > > > > +void intel_shutdown(struct snd_pcm_substream *substream, > > > > > +    struct snd_soc_dai *dai) > > > > > +{ > > > > > +    struct sdw_cdns_dma_data *dma; > > > > > + > > > > > +    dma = snd_soc_dai_get_dma_data(dai,

Re: [alsa-devel] [RFC PATCH 31/40] soundwire: intel: move shutdown() callback and don't export symbol

2019-08-14 Thread Pierre-Louis Bossart
+void intel_shutdown(struct snd_pcm_substream *substream, +    struct snd_soc_dai *dai) +{ +    struct sdw_cdns_dma_data *dma; + +    dma = snd_soc_dai_get_dma_data(dai, substream); +    if (!dma) +    return; + +    snd_soc_dai_set_dma_data(dai, substream, NULL); +    kfree(dma);

Re: [alsa-devel] [RFC PATCH 31/40] soundwire: intel: move shutdown() callback and don't export symbol

2019-08-02 Thread Pierre-Louis Bossart
On 8/2/19 12:28 PM, Vinod Koul wrote: On 26-07-19, 09:46, Pierre-Louis Bossart wrote: On 7/26/19 5:38 AM, Cezary Rojewski wrote: On 2019-07-26 01:40, Pierre-Louis Bossart wrote: +void intel_shutdown(struct snd_pcm_substream *substream, +    struct snd_soc_dai *dai) +{ +    struct

Re: [alsa-devel] [RFC PATCH 31/40] soundwire: intel: move shutdown() callback and don't export symbol

2019-08-02 Thread Vinod Koul
On 26-07-19, 09:46, Pierre-Louis Bossart wrote: > > > On 7/26/19 5:38 AM, Cezary Rojewski wrote: > > On 2019-07-26 01:40, Pierre-Louis Bossart wrote: > > > +void intel_shutdown(struct snd_pcm_substream *substream, > > > +    struct snd_soc_dai *dai) > > > +{ > > > +    struct

Re: [alsa-devel] [RFC PATCH 31/40] soundwire: intel: move shutdown() callback and don't export symbol

2019-07-26 Thread Pierre-Louis Bossart
On 7/26/19 5:38 AM, Cezary Rojewski wrote: On 2019-07-26 01:40, Pierre-Louis Bossart wrote: +void intel_shutdown(struct snd_pcm_substream *substream, +    struct snd_soc_dai *dai) +{ +    struct sdw_cdns_dma_data *dma; + +    dma = snd_soc_dai_get_dma_data(dai, substream); +    if