From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mezzanine.sirena.org.uk ([106.187.55.193]:56216 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751839AbcF2SMM (ORCPT ); Wed, 29 Jun 2016 14:12:12 -0400 Date: Wed, 29 Jun 2016 19:11:59 +0100 From: Mark Brown To: Kuninori Morimoto Cc: Linux-ALSA , Liam Girdwood , Simon , linux-renesas-soc@vger.kernel.org Message-ID: <20160629181159.GH6247@sirena.org.uk> References: <87fusysjam.wl%kuninori.morimoto.gx@renesas.com> <878tyqsj48.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0XhtP95kHFp3KGBe" Content-Disposition: inline In-Reply-To: <878tyqsj48.wl%kuninori.morimoto.gx@renesas.com> Subject: Re: [PATCH 05/39 v2] ASoC: simple-card-utils: add asoc_simple_card_parse_tdm() Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: --0XhtP95kHFp3KGBe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 31, 2016 at 09:00:40AM +0000, Kuninori Morimoto wrote: > +int asoc_simple_card_parse_tdm(struct device_node *port_np, > + struct asoc_simple_dai *simple_dai) > +{ > + return snd_soc_of_parse_tdm_slot(port_np, > + &simple_dai->tx_slot_mask, > + &simple_dai->rx_slot_mask, > + &simple_dai->slots, > + &simple_dai->slot_width); > +} > +EXPORT_SYMBOL_GPL(asoc_simple_card_parse_tdm); This is (obviously) a very thin wrapper around the existing interface. If that makes sense then perhaps we should just update the existing interface? --0XhtP95kHFp3KGBe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXdA9uAAoJECTWi3JdVIfQzuoH/RNpz4GQPGRWO5mtNf4O1gXL /4lP925zvrHBxV2REnLowGz/XVjJE4fIEn3k8fHSjlNkn/z8PTXdEbuVMKJXpaZC 6Y8zVtMbsgqibsb4XLVFy6WlDUgh7s7+QZ2PPvmm0mMCVzVxh5wyzAISB1I/deEr MoT32yu1BKFi/LUB+85HwtAr9jY2dvhgJdwQ8hvnL/kSIkm+b5aKXpay1LqLZFTX 16lvrgnQilcdJ42ygKxYY8LgltwrbZf0FMmSPAnaB3bn2Ot7Jlo3fcw5ky9xIfB7 CaC0cQIuGqC94t8aB3oBK3gby7v4Unl88/9G6xLnEJXBT0xBMwutCTq0o2XWZZU= =tOnr -----END PGP SIGNATURE----- --0XhtP95kHFp3KGBe--