Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753460AbbEDNRI (ORCPT ); Mon, 4 May 2015 09:17:08 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:49374 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753197AbbEDNQZ (ORCPT ); Mon, 4 May 2015 09:16:25 -0400 Date: Mon, 4 May 2015 12:45:58 +0100 From: Mark Brown To: Kevin Cernekee Cc: lgirdwood@gmail.com, lars@metafoo.de, dgreid@chromium.org, abrestic@chromium.org, olofj@chromium.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20150504114558.GD15510@sirena.org.uk> References: <1430697619-22773-1-git-send-email-cernekee@chromium.org> <1430697619-22773-4-git-send-email-cernekee@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ieNMXl1Fr3cevapt" Content-Disposition: inline In-Reply-To: <1430697619-22773-4-git-send-email-cernekee@chromium.org> X-Cookie: Keep refrigerated. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 86.189.253.62 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH V3 3/4] ASoC: tas571x: New driver for TI TAS571x power amplifiers X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1475 Lines: 50 --ieNMXl1Fr3cevapt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 03, 2015 at 05:00:18PM -0700, Kevin Cernekee wrote: > + } > + > + codec->dapm.bias_level =3D level; > + return 0; > +} This assignment was factored out into the core last week, I'll fix up for that. > + if (dev->of_node) { > + const struct of_device_id *of_id; > + > + of_id =3D of_match_device(tas571x_of_match, dev); > + if (of_id) > + priv->chip =3D of_id->data; > + } Doesn't of_match_device() do the right thing with devices not registered =66rom DT? --ieNMXl1Fr3cevapt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVR1v2AAoJECTWi3JdVIfQB50H/AmSEQPSTPu2NKen6stBNWL/ bDThUtuD3yS7eU+jyZdFYU9qX/XjmcwMbvrUq2skMiXFd3E3a2SwifJ8pfHjze86 X2YksmReUZEBytyYWRiaTp5NqsfU7+zHCBsZ/2m25YB/5JLHojYrA2uX8h3pcqXZ SGhm0/ISqOgtOPlp824y/SFjc4+A0TomPD2ykKeG9E47f86n5vFzusOJm0YaKMUO WIWdxjbV85M2/3vtr1drAydWF/uFY3h1W0szs3TKDS9g/vkVCfi4aBRBu7B9Vl+J JaE/k9cAyU85zTP7tv5acN5d7ymyEr+1gcDeBsbKUglVKU3A2fJ7ZT5owUR8tG8= =vjIR -----END PGP SIGNATURE----- --ieNMXl1Fr3cevapt-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/