From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 1/3] ASoC: soc-core: soc_pcm_ops dynamically allocated Date: Fri, 16 Jul 2010 16:09:48 +0100 Message-ID: <20100716150948.GA23183@rakim.wolfsonmicro.main> References: <1279291619-5081-1-git-send-email-lamiaposta71@gmail.com> <1279291619-5081-2-git-send-email-lamiaposta71@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 1CD32103806 for ; Fri, 16 Jul 2010 17:09:51 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1279291619-5081-2-git-send-email-lamiaposta71@gmail.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 To: Raffaele Recalcati Cc: davinci-linux-open-source@linux.davincidsp.com, Barry Song <21cnbao@gmail.com>, Peter Ujfalusi , alsa-devel@alsa-project.org, Eero Nurkkala , Davide Bonfanti , Liam Girdwood List-Id: alsa-devel@alsa-project.org On Fri, Jul 16, 2010 at 04:46:57PM +0200, Raffaele Recalcati wrote: > If soc_pcm_ops is statically allocated, more than one call to soc_new_pcm > cause operations overwrite. The problem is overcome usyng dynamic > allocation. As I said previously you're looking for Liam's multi-component work here rather than this (or at least should be basing your work off his).