Re: [PATCH 1/4] ASoC: rt286: rt286_mic_detect() uses component

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/24/2016 08:57 AM, Takashi Iwai wrote:
> On Fri, 21 Oct 2016 06:29:09 +0200,
> Kuninori Morimoto wrote:
>>
>>
>> From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
>>
>> Intel broadwell is using card->codec_dev_list, but it will be
>> replaced to component list soon. Then, it will not be able to use
>> "codec".
> 
> Can't it be deduced by a simple container_of()?

There is the snd_soc_component_to_codec() helper for this.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux