From: Takashi Iwai Subject: Re: [RFC V2 PATCH 4/5] ALSA: hda - add in_use flag in hda_pcm Date: Mon, 23 Nov 2015 16:50:19 +0100 Message-ID: References: <1448287774-146673-1-git-send-email-libin.yang@linux.intel.com> <1448287774-146673-6-git-send-email-libin.yang@linux.intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 39BD02658C8 for ; Mon, 23 Nov 2015 16:50:20 +0100 (CET) In-Reply-To: <1448287774-146673-6-git-send-email-libin.yang@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: libin.yang@linux.intel.com Cc: libin.yang@intel.com, alsa-devel@alsa-project.org, mengdong.lin@linux.intel.com List-Id: alsa-devel@alsa-project.org On Mon, 23 Nov 2015 15:09:33 +0100, libin.yang@linux.intel.com wrote: > > From: Libin Yang > > Add in_use flag in struct hda_pcm for HD Audio dynamic PCM assignment. > > Signed-off-by: Libin Yang This should be folded into the last patch. The addition of the flag alone doesn't make much sense. Takashi > --- > sound/pci/hda/hda_codec.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h > index 373fcad..ee97401 100644 > --- a/sound/pci/hda/hda_codec.h > +++ b/sound/pci/hda/hda_codec.h > @@ -167,6 +167,7 @@ enum { > /* for PCM creation */ > struct hda_pcm { > char *name; > + bool in_use; > struct hda_pcm_stream stream[2]; > unsigned int pcm_type; /* HDA_PCM_TYPE_XXX */ > int device; /* device number to assign */ > -- > 1.9.1 >