From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH 1/4] ASoC: rt286: rt286_mic_detect() uses component Date: Mon, 24 Oct 2016 08:57:21 +0200 Message-ID: References: <87eg3a2v32.wl%kuninori.morimoto.gx@renesas.com> <87d1iu2v1j.wl%kuninori.morimoto.gx@renesas.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id CD8FD2661A4 for ; Mon, 24 Oct 2016 08:57:23 +0200 (CEST) In-Reply-To: <87d1iu2v1j.wl%kuninori.morimoto.gx@renesas.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Kuninori Morimoto Cc: Linux-ALSA , Mark Brown , Lars-Peter , Simon List-Id: alsa-devel@alsa-project.org On Fri, 21 Oct 2016 06:29:09 +0200, Kuninori Morimoto wrote: > > > From: Kuninori Morimoto > > 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()? Takashi