From mboxrd@z Thu Jan 1 00:00:00 1970 From: preetam Subject: Re: [PATCH 1/1] ASoC: core: cache index fix Date: Sun, 07 Aug 2011 00:31:07 +0530 Message-ID: <4E3D8F73.40902@gmail.com> References: <65EE16ACC360FA4D99C96DC085B3F7721F410B@039-SN1MPN1-002.039d.mgd.msft.net> <20110802083850.GB9553@opensource.wolfsonmicro.com> <65EE16ACC360FA4D99C96DC085B3F7721F427D@039-SN1MPN1-002.039d.mgd.msft.net> <65EE16ACC360FA4D99C96DC085B3F7721F43AA@039-SN1MPN1-002.039d.mgd.msft.net> <65EE16ACC360FA4D99C96DC085B3F7721F443D@039-SN1MPN1-002.039d.mgd.msft.net> <65EE16ACC360FA4D99C96DC085B3F7721F45A8@039-SN1MPN1-002.039d.mgd.msft.net> <20110802154815.GE25884@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pz0-f43.google.com (mail-pz0-f43.google.com [209.85.210.43]) by alsa0.perex.cz (Postfix) with ESMTP id B33F624612 for ; Sat, 6 Aug 2011 21:01:15 +0200 (CEST) Received: by pzk1 with SMTP id 1so5173002pzk.2 for ; Sat, 06 Aug 2011 12:01:12 -0700 (PDT) In-Reply-To: <20110802154815.GE25884@opensource.wolfsonmicro.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi, I am writing an SoC driver. I have the need to power up the Playback and Capture parts of the device separately depending on the call to codec structure. How can I identify the stream as playback or capture in set_bias call back. It only gets a codec pointer and a state. Regards, Preetam