From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relmlor3.renesas.com ([210.160.252.173]:7785 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751093AbdFVBB1 (ORCPT ); Wed, 21 Jun 2017 21:01:27 -0400 Message-ID: <87lgokdenb.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Mark Brown CC: Lars-Peter , Simon , Linux-Renesas , Linux-ALSA Subject: Re: [RFC][PATCH 0/x] ASoC: replace platform to component In-Reply-To: <20170621161533.pm5jfszombyexfpo@sirena.org.uk> References: <87efuf9z8u.wl%kuninori.morimoto.gx@renesas.com> <87r2ye6k4p.wl%kuninori.morimoto.gx@renesas.com> <20170621161533.pm5jfszombyexfpo@sirena.org.uk> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="US-ASCII" Date: Thu, 22 Jun 2017 01:01:22 +0000 Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Hi Mark > > - struct device *dev = rtd->platform_com->dev; > > + struct snd_soc_component *component = snd_soc_lookup_runtime(rtd, driver); > > This seems like a fairly sensible idiom, and it'll also help deal with > some of the issues we have right now with CODEC<->CODEC links I think. Thanks I will consider and try to create such patch Best regards --- Kuninori Morimoto