From: Mark Brown Subject: Re: [alsa-devel] Question on Compressed offload session Date: Fri, 14 Nov 2014 17:06:50 +0000 Message-ID: <20141114170650.GG3815@sirena.org.uk> References: <85499f52ebd29581bf58b9cafbae6864.squirrel@www.codeaurora.org> <5464CDE2.2070406@linux.intel.com> <54662DC6.7070302@linux.intel.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6cotLj5rESeNB5ig" Return-path: Content-Disposition: inline In-Reply-To: <54662DC6.7070302@linux.intel.com> Sender: linux-sh-owner@vger.kernel.org To: Pierre-Louis Bossart Cc: gsantosh@codeaurora.org, Mark Rutland , Rob Herring , ALSA Development Mailing List , Kuninori Morimoto , Stephen Warren , Linux-sh list , Magnus , linux-kernel@vger.kernel.org, Olof Johansson , devicetree@vger.kernel.org, Geert Uytterhoeven , grant.likely@linaro.org, alsa-devel-bounces@alsa-project.org, Kuninori Morimoto List-Id: alsa-devel@alsa-project.org --6cotLj5rESeNB5ig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Nov 14, 2014 at 10:28:54AM -0600, Pierre-Louis Bossart wrote: > On 11/13/14, 10:08 PM, gsantosh@codeaurora.org wrote: > >1) in Codec driver avoid adding hw_constraint during startup if compressed > >session is routed, this recommend for codec driver to know that compress > >session is routed to codec which I feel not the correct way to handle this > >I was checking how to handle this situation in much better way. > What exactly do you call a 'legacy codec'? If there is a DAI i am not sure I > understand the problem. I think what he's trying to say is that there's nothing automatic which will ensure that constraints on the back end set by the CODEC driver will be paid attention to. This is true, it's pretty much entirely up to the machine driver to make sure it gets the back end links right. --6cotLj5rESeNB5ig Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUZjaqAAoJECTWi3JdVIfQuFAH/13RyikXZ58DwaCl7jN85TQ8 BV4EwR+3FqqXVcXw4fX8JLkRyNmUnkv4GSQyFTNEICL2qoHHKSlnd1fbow1tOWdn NGuhgFL1yqraNjguNS8/bBKfbwFOZ2OwhQruKXWuZdeOyKJ6qZ+GffsR/ov/7LY4 Ggrfl4PqjPowCWMulNgwCkCfdy84/E1tzPOfInBj6YXDeORs+Ros6kgnOiyAyXHf UVUnExmdreqnqHpnVeBS4TT68hM2Wnh8A7jmWISM6taB6bHe9BAiXpiqtEOx6DBq 6Kwqjn8w0jZ1jfVUuof+cJs6t/C+MYSabOLn+M6brV8ZY5Z1P7AZvW4W2PmBkC8= =hWv8 -----END PGP SIGNATURE----- --6cotLj5rESeNB5ig--